Autoscaling workers for delayed_job in Rails 3

邮差的信 提交于 2019-12-03 14:04:55

问题


I've been using collectiveidea's fork of delayed_job as a gem in my Rails 3 app, and it's working fine. I'm now looking for a solution to autoscale workers, specifically for Heroku. I've given pedro's fork a try but since it's written for Rails 2, using it throws lots of errors and warnings about deprecated methods and I haven't been able to get it to work successfully.

Is there a working solution for Rails 3 delayed_job with autoscaling workers?


回答1:


You might want to take a look at workless, it's one of the only Rails3 worker autoscalers I've seen at this point.




回答2:


Specifically for heroku, check out "HireFire - The Heroku Worker Manager" and hirefireapp service:

  • https://github.com/meskyanichi/hirefire - open source
  • http://hirefireapp.com/ - service in public beta now



回答3:


I've started working on a gem called Komodo to perform that very same task for un upcoming project at work. However, since we've only just started on the project, the gem is still very, very early - and untested.

I should see some consistent updating over the next couple of weeks though - would certainly appreciate any feedback or contributions! :)



来源:https://stackoverflow.com/questions/4236565/autoscaling-workers-for-delayed-job-in-rails-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!