29
A Faster Free Heroku (Kinda) | Quick Hack
If you've been building stuff on web for a while now, you've probably heard of HEROKU and NETLIFY
Just-In-Case you haven't heard about it
- Heroku: A free PaaS (Platform as a Service), basically a cloud service that let's you host and share your web apps.
- Netlify: A free hosting service for static sites, basically react, vanilla javascript, etc projects.
- Heroku is Easy to Use.
- Heroku is Free.
- Heroku has Premium
Heroku's free tier uses dynos (Stuff That Hosts Your Code) that sleeps after 30 mins of inactivity
Once a dyno falls asleep, It takes time for it to awaken.
So the initial response is slow and the damage is already done.
Re-Read This Line
Heroku's free tier uses dynos (Stuff That Hosts Your Code) that sleeps after 30 mins of inactivity
If You Haven't Got It Yet, Re-Read It Again
Heroku's free tier uses dynos (Stuff That Hosts Your Code) that sleeps after 30 mins of inactivity
💡Light Bulb💡
30 mins of inactivity
All We Need To Do is Do Something Every 30mins.
Nah 15mins to be on the safer side
For node.js dev(s) Out There
// Run Every 15 mins => 900 secs => 900000 ms
setInterval(()=>console.log("😂😜🤣🤓"),900000)
GGWP,
@LucidMach
✌
29