Heroku上的测功小时究竟是什么? [英] What exactly is dyno hour on Heroku?

查看:424
本文介绍了Heroku上的测功小时究竟是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



dyno小时究竟是什么?



免费提供750个测距小时。例如,我的常规请求需要100毫秒才能处理。



因此,该请求将在<750>免费动态小时 100ms



Heroku的用法是根据挂钟时间计算,而不是CPU时间,这意味着只要启用了dynos,使用量就会随着时间累积,无论流量或活动如何。
https://devcenter.heroku.com/articles/usage-and-billing#计算使用情况

<750>足以涵盖整个月份的任何一个测功机。基本上非生产应用程序在这方面是免费的。 (除非你有另一个非web进程运行,如芹菜等)

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?

解决方案

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)

这篇关于Heroku上的测功小时究竟是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆