HireFire automatically "hires" and "fires" (aka "scales") Delayed Job and Resque workers on Heroku. When there are no queue jobs, HireFire will fire (shut down) all workers. If there are queued jobs, then it'll hire (spin up) workers. The amount of workers that get hired depends on the amount of queued jobs (the ratio can be configured by you). HireFire is great for both high, mid and low traffic applications. It can save you a lot of money by only hiring workers when there are pending jobs, and then firing them again once all the jobs have been processed. It's also capable to dramatically reducing processing time by automatically hiring more workers when the queue size increases.

installgem install hirefire

Michael van Rooijen

22,871 total downloads 15,820 for this version


gem 'hirefire', '~> 0.1.4'
  1. 0.1.4 June 27, 2011 (22.5 KB)
  2. 0.1.3 May 1, 2011 (21.5 KB)
  3. 0.1.2 May 1, 2011 (21 KB)
  4. 0.1.1 April 15, 2011 (20 KB)
  5. 0.1.0 April 10, 2011 (14 KB)
Runtime Dependencies
  1. heroku >= 1.4
  2. rush ~> 0.6.7