What's the best way to autoscale workers in Heroku using Rails 3?
-
Check out * https://github.com/meskyanichi/hirefire - open source * http://hirefireapp.com/ - service in public beta now – wik Jul 01 '11 at 23:12
6 Answers
This branch of delayed_job works pretty well. It's really easy to implement if you're already using delayed_job in your app.
Edit: This gem should work in Rails 3 according to this S.O thread.
-
Personally, I am not sure but I updated the answer with one that should work in Rails 3. – JackCA Jan 13 '11 at 00:24
-
Note that Workless works on Cedar, while I don't believe the HireFire gem does. – Becca Royal-Gordon May 20 '12 at 04:04
-
I've tried [Workless](https://github.com/lostboy/workless). So far, so good. Works out of the box, with about zero config, and it's free. Very pleased, thanks for the recommendation. – mjnissim Feb 22 '13 at 14:56
There is also guv which is open source. If you don't want to run it yourself, you can also use it as an add-on

- 930
- 7
- 8
I am using workless gem, and it seems reliable for my dev purpose (scale between 0 and 1 worker) I tried to use heroscale.com but the service is down for 2 month and I am not that confident with leaving my heroku credentials on such a young service

- 2,744
- 3
- 24
- 39
There are a few options. Heroku exposes the Platform API which you can use to scale up and down. Alternatively, there are a few Heroku Addons that can solve this problem for you. I use this heroku autoscaling addon for my projects.

- 4,094
- 1
- 23
- 29