Heroku::Autoscale
Installation
gem 'heroku-autoscale'
Usage (Rails 2.x)
config.middleware.use Heroku::Autoscale,
:username => ENV["HEROKU_USERNAME"],
:password => ENV["HEROKU_PASSWORD"],
:app_name => ENV["HEROKU_APP_NAME"],
:min_dynos => 2,
:max_dynos => 5,
:queue_wait_low => 100, :queue_wait_high => 5000, :min_frequency => 10
Usage (Rails 3 / Rack)
use Heroku::Autoscale,
:username => ENV["HEROKU_USERNAME"],
:password => ENV["HEROKU_PASSWORD"],
:app_name => ENV["HEROKU_APP_NAME"],
:min_dynos => 2,
:max_dynos => 5,
:queue_wait_low => 100, :queue_wait_high => 5000, :min_frequency => 10