Saturday, January 19, 2013

Keeping heroku applications alive

My personal homepage is hosted on Heroku. The reason I did this is because it’s free, convenient and easy to use with some nice logging infrastructure.

But there’s one problem: on Heroku, if your web application doesn’t get any traffic for about 30 minutes, the application is powered down. It is powered back up when you get a request. This gives your initial visitors an annoying delay when visiting your site. Bad!

So for fun, I wrote another heroku application, to keep web applications alive. Pretty easy to get started with and you can find it here.

If it’s useful to you, let me know.