Coming Soon: NimbleNodes
Automatic scaling for Heroku Dynos (and Delayed Job Workers coming soon). See nimblenodes.com for more information.
Rack middleware sits on top of all requests and watches the number of Dynos in use and the size of the RequestQueue. Depending on the settings entered at nimblenodes.com reports are posted over to the server. The server then calculates the needed adjustments and handles all communications with Heroku.
Installation
Install gem
sudo gem install nimble_nodes
Rails installation
In config/enviroment.rb
config.gem ‘nimble_nodes’
Rails 2.3
In config/initializers/nimble_nodes.rb
ActionController::Dispatcher.middleware.use(NimbleNodes::Middleware)
Previous Rails Versions
In app/controllers/application_controller.rb
before_filter :monitor_heroku_app
Copyright
Copyright © 2010 Cotillion, LLC. See LICENSE for details.