Questions tagged [starling-server]

Starling is a Ruby-based persistent queue server. For the ActionScript StartlingFramework, please use the [starling-framework] tag.

Starling is a light-weight persistent queue server that speaks the MemCache protocol. It was built to drive Twitter's backend, and is in production across Twitter's cluster.

19 questions
17
votes
4 answers

Message Queues Vs DB Table Queue via CRON

We have a large project coming up soon with quite a lot of media processing (Images, Video) as well email output etc, the sort of stuff normally we'd put into a table called "email_queue" and we use a cron to run a script process the queue in the…
Bowen
  • 523
  • 1
  • 4
  • 11
5
votes
4 answers

Installing starling on Windows

I am trying to install the starling gem on my Windows machine. But, whenever I try to install it I get this error: Building native extensions. This could take a while... ERROR: Error installing starling: ERROR: Failed to build gem…
Josh Moore
  • 13,338
  • 15
  • 58
  • 74
3
votes
1 answer

Problems with starling/workling in production mode

I have a rails app that has asynchronous processing, and I'm having trouble getting it to work in production mode. I start starling from the root of the application like so: starling -d -P tmp/pids/starling.pid -q log/ then I start workling like…
Chris Drappier
  • 5,280
  • 10
  • 40
  • 64
2
votes
2 answers

Starling: How to speed up the queue

I've launched a website today which makes heavy use of Starling and Workling to handle the background task queue. Traffic has been heavy and although my server CPU/memory has not been under too much strain, the job queue is seriously backing up. I…
netflux
  • 3,648
  • 6
  • 37
  • 40
2
votes
0 answers

Starling/Workling Issue on Rails

I'm trying to get starting and workling working on rails 3, and am having some issues. I have starling-starling installed in the gemfile, and installed workling via: rails plugin install git://github.com/purzelrakete/workling.git I then wrote my…
Craig Liamson
  • 65
  • 1
  • 4
2
votes
1 answer

Sinatra message Queue

Starling is a great (at least for small projects) and simple message queue, however, it doesn't actually manage or start workers that consume the queues. Workling does this for Rails projects, but doesn't work for pure ruby applications, neither for…
Daniel Ribeiro
  • 3,110
  • 3
  • 23
  • 49
1
vote
1 answer

Angular running an older version of the project from somewhere

probably due to a mis-keyboard press the angular is running a 2 day old project file and not running the current one on $ ng serve. Any changes I make to the files, does not show-up in the result. It means it is serving files from somewhere else,…
pikuMan
  • 37
  • 1
  • 5
1
vote
1 answer

Rails background job processing

I am using starling as a queue server in my rails application. so each time i want to call worker method, I have to start starling and workling client from console. Is there a way where as soon as the passenger is started my workling and starling…
1
vote
3 answers

Working with Starling and multiple instances of Mongrel through Mongrel Cluster

Situation: In a typical cluster setup, I have a 5 instances of mongrel running behind Apache 2. In one of my initializer files, I schedule a cron task using Rufus::Scheduler which basically sends out a couple of emails. Problem: The task…
Swanand
  • 12,317
  • 7
  • 45
  • 62
0
votes
1 answer

sudo ./starling start works well but sudo service starling start fails

sudo ./starling start works well but sudo service starling start fails $ sudo ./starling start * Starting Starling Server... [ OK ] $ sudo ./starling stop * Stop Starling Server... [ OK ] $ sudo service…
Keating
  • 3,380
  • 10
  • 34
  • 42
0
votes
1 answer

Run angular and node.js project locally without sharing code

Suppose i have a project that i have made in angular and node Till now for the development purpose i run through NG serve , but definitely i have to show code , that i don't want . i want to install locally in customer's PC , not internet…
0
votes
1 answer

How do you run or install starling under RVM?

I installed the starling gem under rvm, but there's problem starting starling because it expects permission to write to /var/spool/starling, and installing starling under rvm doesn't give it the required permissions. sudo starling also doesn't work…
dan
  • 43,914
  • 47
  • 153
  • 254
0
votes
1 answer

how to debug the code which is running under task server in rails

In rails have a code which is running under task-server and starling server. I want to know what's the recommended way to debug the code line by line?
kishore sagar
  • 31
  • 2
  • 5
0
votes
1 answer

Workling worker cannot find newly added record

I'm using Starling and Workling to process background tasks in my application, a Swoopo-style auction site. In this case the background task is a notification system that monitors auctions and notifies the winner. The monitor is invoked upon…
mjaz
  • 471
  • 3
  • 9
0
votes
1 answer

Cannot start workling_starling_client in rails production environment

I was using god to start and monitor my starling and workling daemons. Works awesome on development machine but "workling_starling_client" refuses to start on my production machine.
JasonOng
  • 3,268
  • 3
  • 21
  • 17
1
2