简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM