meskyanichi/hirefire — Issue #42: Keeping worker idle for specific amount of time
Author: masterdididum
Created: 2012-02-21 10:18:43+00:00
State: open

I use hirefire-gem with DJ 3 on heroku cedar-stack and it is working pretty good in terms of hiring/firing but performance of the job execution is terrible (probably herokus fault). firing up the background job and seeing the results in the UI takes about 5 -8 seconds locally and about 25-30 seconds (!) on heroku.

Processing time of the jobs is about the same locally/deployed but hiring workers (scaling, up, starting, ...) seems to take a lot of time. (has anyone the same issue? and probably a solution?)

I was thinking to fire up a worker a little bit in advance and then keep it up and grab the (anticipated) job. So my question is if it is possible to specifiy a time where to keep the worker up, e.g. 30 seconds.

Thanks a lot & thanks for the great gem. Really appreciate your work!
Best, Phil