How can I avoid heroku stopping my dyno?

Posted by iwein on Server Fault See other posts from Server Fault or by iwein
Published on 2012-04-28T11:17:01Z Indexed on 2012/12/04 17:09 UTC
Read the original article Hit count: 255

Filed under:
|

I build MVP's for clients regularly. Often I deploy on Heroku so they can see if the product works and demo it to prospects and investors.

Then I have an application deployed on heroku, and it works like a charm, if not for one little thing. The app takes about 30 seconds to start up and heroku has the annoying habit of killing dyno's if they don't get traffic. My client is using the application for demo purposes now, so the load is extremely low and intermittent.

I'm looking for a solution that is preferably:

  • cost effective
  • can be applied to multiple apps simultaneously

What is the best way to avoid having the first request taking 30 seconds?

© Server Fault or respective owner

Related posts about keepalive

Related posts about heroku