Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will my Heroku app working on 1 web dyno stay active if I pay for 1 worker dyno?

Tags:

heroku

I currently have an app deployed on Heroku which runs on two web dynos so it won't go to sleep if it remains inactive for a certain time.

Now if I scale it down to only one web dyno (free) and instead pay for one worker dyno, will Heroku always keep my app active?

like image 669
Pierre Olivier Martel Avatar asked Apr 09 '12 19:04

Pierre Olivier Martel


People also ask

How long does a Heroku dyno last?

Personal accounts are given a base of 550 free dyno hours each month. An additional 450 free dyno hours is available for all accounts verified with a credit card for a total of 1000 hours per month.

How long does Heroku app stay up?

If an app has a free web dyno, and that dyno receives no web traffic in a 30-minute period, it will sleep. In addition to the web dyno sleeping, the worker dyno (if present) will also sleep.

How do I keep my Heroku app awake for free?

NewRelic Availability Monitoring If you install the NewRelic Heroku Addon you can set up availability monitoring. You provide a URL which NewRelic pings every 30 seconds, therefore keeping your app awake.


1 Answers

It will still idle - you NEED to have more than a single web dyno

https://devcenter.heroku.com/articles/dyno-idling

like image 177
John Beynon Avatar answered Oct 22 '22 21:10

John Beynon