RubyGems.org

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 samoli-hirefire
Authors

Michael van Rooijen

1,013 total downloads 1,013 for this version
Owners

A6ad943eee0cec3804b89bc7bf865293

Gemfile
gem 'samoli-hirefire', '~> 0.1.1'
Versions
  1. 0.1.1 April 29, 2011 (20.5 KB)