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 both get auto started Or preciously when i will call the worker method then only my worling instance will get created.
解決
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.
所属していません StackOverflow