heroku-resque-auto-scale

Auto scale your resque workers on Heroku. Original code by darkhelmet:

I just bundled it into a gem for easy inclusion into other projects.

Usage

Once the gem is installed, simply extend your job class as follows:

class ScalingJob
  extend HerokuResqueAutoScale if Rails.env.production? # only extend in production

  def self.perform
    # Do something long running
  end
end

Contributing to heroku-resque-auto-scale

Copyright © 2010 Mark Quezada. See LICENSE.txt for further details.