Background Job Manager for Rails 3

荒凉一梦 提交于 2019-12-19 07:57:16

问题


Does anyone know of a background job manager that works with Rails 3? I have heard of Starling and Workling but I do not see a fork for Rails 3.


回答1:


I used this article to get delayed_job (a common rails 2 gem for queueing jobs to be done later) running on rails 3. The collectiveidea branch of delayed_job has rails 3 support and works great.




回答2:


Are you looking for a background-job worker ? for simple usage i suggest delayed_job https://github.com/collectiveidea/delayed_job/

Resque instead is more powerfull (It's used for github background job) but complicated. https://github.com/defunkt/resque

bye




回答3:


take a look at the railscast: beanstalkd and stalker: http://railscasts.com/episodes/243-beanstalkd-and-stalker




回答4:


spawn is fine if you just want to run some code in a seperate thread and just forget about it. https://github.com/tra/spawn



来源:https://stackoverflow.com/questions/4783777/background-job-manager-for-rails-3

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