No doubt that Heroku is a great tool for developers. One particular reason for me is its generosity. I will explain how
Heroku Dynos
If...
For further actions, you may consider blocking this person and/or reporting abuse
I found really useful your article, so thanks for sharing it!
But from a couple of years until now, heroku had set protection against these tools, so now the platform has certain restrictions.
An example is that a free heroku app must sleep at least a hour a day, if it passes the restriction, you'll be charged.
Oh wow.
I didn't know about this. I will look into this. Thanks
if app is asleep and 10 users enter at same time will be slow for only 1 user or for 10 users?
Also if you usually have an app with 1k visitors is it really that bad that only 1 will get slow load?
But really nice solutions and I might apply to my projects
Good question @bairrada97 . If the app is asleep it will only be slow to load for the first person to wake the app.
So if I am the first person to load the app, then it will only be slow for me, if after 5 minutes someone else tries to load the app, it will not be slow.
For the second question:
Yeah it's not that bad for just one person (that's why I consider Heroku generous). But why does my app need to sleep anyway if I have more than enough hours per month
I'd like to refer npmjs.com/package/awake-heroku that is useful for heroku
That's a good resource. Have you tried it before?
Thank you so much for sharing.
Glad you found it useful
It works! Thanks for sharing.
Enjoy!
Insightful!
Interesting! Thank you for sharing this!