Rails background job processing

0 votes
asked Jul 28, 2010 by mohit

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 both get auto started Or preciously when i will call the worker method then only my worling instance will get created.

1 Answer

0 votes
answered Jul 22, 2011 by mjamal

I start up my workling and starling processes in one call using the "god" gem. It also allows you to setup CPU and memory thresholds. You might find it useful.

http://railscasts.com/episodes/130-monitoring-with-god

Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter

...