Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly is dyno hour on Heroku?

Tags:

heroku

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?

like image 528
Palo Delinčák Avatar asked Nov 03 '13 12:11

Palo Delinčák


People also ask

What are dyno hours in Heroku?

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.)

How are dyno hours consumed?

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.

How do I check my Heroku 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.

What does Dyno mean Heroku?

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.


1 Answers

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)

like image 175
Jody Avatar answered Oct 21 '22 08:10

Jody