The Heroku gem itself can do this for you - if you put in a before or 
after_filter a quick check on HTTP_X_HEROKU_QUEUE_DEPTH or 
HTTP_X_HEROKU_QUEUE_WAIT_TIME 
depending on your criteria, then use the gem to add or remove a dyno as 
suits you.  Look at 
http://blog.darkhax.com/2010/07/30/auto-scale-your-resque-workers-on-heroku for 
inspiration on how to do it.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to