简体   繁体   English

在Rails 3中为delayed_job自动扩展工作者

[英]Autoscaling workers for delayed_job in Rails 3

I've been using collectiveidea 's fork of delayed_job as a gem in my Rails 3 app, and it's working fine. 我一直在使用collectiveidea的delayed_job分叉作为我的Rails 3应用程序中的一个宝石,它运行正常。 I'm now looking for a solution to autoscale workers, specifically for Heroku. 我现在正在寻找自动测量工作者的解决方案,特别是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. 我试试过pedro的fork但是因为它是为Rails 2编写的,所以使用它会抛出许多关于弃用方法的错误和警告,我无法让它成功运行。

Is there a working solution for Rails 3 delayed_job with autoscaling workers? Rails 3 delayed_job是否有自动扩展工作的解决方案?

你可能想看看没用的东西 ,它是我在这一点上见过的唯一一个Rails3工作器自动跟踪器

Specifically for heroku, check out "HireFire - The Heroku Worker Manager" and hirefireapp service: 专门针对heroku,查看“HireFire - The Heroku Worker Manager”和hirefireapp服务:

I've started working on a gem called Komodo to perform that very same task for un upcoming project at work. 我已经开始研究一种名为Komodo的宝石,为即将到来的工作项目执行相同的任务。 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! 我会在接下来的几周内看到一些一致的更新 - 肯定会感谢任何反馈或贡献! :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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