adgllorente

Avoid idling in Openshift with UptimeRobot

Photo by Icons8 Team on Unsplash 路 25/2/2016

Yesterday I prepared a presentation for my coworkers comparing two PaaS services, Heroku and OpenShift, and now, an idea has come to my mind.

If this is the first time you鈥檝e heard about a PaaS I would tell you that a PaaS is a platform that abstracts you from all infrastructure needs to host an application and also offers some extras like NodeJS, Python, MongoDB, MySQL, etc. If this explanation is not enough you can read what Tom鈥檚 IT wrote about it.

These services usually have free plans where applications are idling if they not receive a request in a period of time, for example:

  • Heroku: Idling on 30 minutes of inactivity (6 hours sleeping daily, so bad)
  • Openshift: Idling o 24 hours of inactivity (App never sleeps, so good)

Reading above, please migrate your services to Openshift because it has a 24 hours idling and not sleep time on its free plan.

If you want to avoid application idling but you don鈥檛 want to hear about paying, (I would recommend you to pay a plan or buy a cheaper host like OVH) you can try UptimeRobot.

UptimeRobot is a free service created to check the uptime of a server, if the server fails it notifies you to the email you have provided. I use this service together with IFTTT to get notifications in my mobile phone when one of my websites is down.

But as I have said, if you don鈥檛 want to pay for Heroku or Openshift plan (or others) you can use UptimeRobot to make HTTP requests or other kind of requests to your application hosted on those services and you application will never be idle.

heroku idle openshift PaaS uptimerobot

路 Adri谩n G贸mez

Powered by Astro + TailwindCSS + Markdown

Inspired in London and Julia