I'm really confused by Heroku pricing.
What exactly is dyno hour?
Heroku is giving 750 dyno hours for free. For example my regular request will take 100ms to process.
So, this request will take 100ms from 750 free dyno hours?
Free dyno hours are calculated whenever a free web dyno is running and we stop calculating when the free web dyno goes to sleep. (If a free web dyno doesn't receive a request for 30mins it will "sleep" so we will no longer count towards the quota until a request is made and the free web dyno boots again.)
If you run a free dyno for 30 minutes, that'll use 0.5 hours from your free dyno hours quota. If you run an app with single free dyno 24/7 for 31 days, that'll use 744 (24 x 31) of your free dyno hours.
You can view the amount of free dyno hours remaining by using the CLI. You can do this by running heroku ps on one of your free apps. Alternatively, you can also view this on Dashboard's billing page, which is refreshed daily to display the updated amount.
The containers used at Heroku are called “dynos.” Dynos are isolated, virtualized Linux containers that are designed to execute code based on a user-specified command.
From documentation:
"Heroku usage is computed from wall-clock time, not CPU time. This means that usage accumulates over time as long as dynos are enabled, regardless of traffic or activity." https://devcenter.heroku.com/articles/usage-and-billing#computing-usage
750 hrs is enough to cover any single dyno for an entire month. Essentially "non-production" apps are free in that regard. (unless you have another non-web process running, like celery etc)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With