Heroku 免费帐户有限制吗?

发布于 2024-10-08 22:25:38 字数 129 浏览 5 评论 0原文

目前,我在免费托管上运行 WordPress 作为我的博客引擎,但我计划在 Ruby 平台上使用基于 git 的博客引擎(Jekyll、Toto)。然后我看到 Heroku 提供免费帐户功能,但我没有看到有关带宽、磁盘空间、请求的任何详细信息?

Currently, I am running wordpress as my blog engine on free hosting, but I'm planning to move to use git-based blog engine(Jekyll, Toto) on Ruby platform. Then I see Heroku provides free account features, but I don't see any detail on bandwidth, disk spaces, requests?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

清欢 2024-10-15 22:25:38

Heroku 免费提供 5MB 数据库

Heroku 免费提供 1 个 dyno。 dyno 是运行并响应请求的应用程序的实例。如果您的应用程序的每个实例都可以在 100 毫秒内处理每个请求,那么您可以使用免费帐户每分钟获得 600 个请求。

您的应用程序代码及其资产(slug)总共限制为 300 MB。您的应用程序还可以访问本地文件系统,该文件系统可以用作特定 dyno 的临时暂存空间,并且应该能够存储至少 1 GB 的数据。

带宽限制为 2TB/月。

Heroku provides, for free, a 5MB database

Heroku provides, for free, 1 dyno. A dyno is an instance of your application running and responding to requests. If each instance of your application can serve each request in 100ms, then you get 600 requests/minute with the free account.

Your application code and its assets (the slug) are limited to 300 MB in total. Your application also has access to the local filesystem, which can serve as an ephemeral scratch space for that specific dyno, and should be able to store at least 1 GB of data.

There is a 2TB/month limit on bandwidth.

岁月静好 2024-10-15 22:25:38

这是我遇到的问题......

“我们的应用程序中的多个功能都有照片和文件上传功能,但它们不会保存。

我在 stackoverflow 上读到“您的大小限制为 100MB磁盘空间,但您不允许将任何文件(包括用户上传)保存到磁盘,因为文件系统是只读的。 100MB 的磁盘空间用于您的应用程序代码和其他资产。 100MB 是最大 slug 大小,包括您的项目引用的所有 gem。“

我们需要我们的用户能够成功上传文件并保存它们。我们如何实现这一点?”

这是 Heroku 支持的回复...

“嗨,文件系统可在 cedar 上写入,并且可以处理超过 100MB 的数据;至少 1GB。

也就是说,它是动态本地的且短暂的;请参阅https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem

对于永久存储,我们推荐一些东西像 S3:https://devcenter.heroku.com/articles/s3

希望这会有所帮助。”

Here is the problem I had....

"We have photo and file upload for several features in our app, but they do not save.

I have read on stackoverflow that "You are limited to 100MB of disk space, but you are not permitted to save any files (including user uploads) to disk because the filesystem is readonly. The 100MB of disk space is for your application code and other assets. The 100MB is the maximum slug size, and includes all gems referenced by your project."

We need our users to be able to successfully upload files and have them save. How do we make this happen?"

Here is Heroku Support's response...

"Hi, the filesystem is writeable on cedar, and can handle significantly more than 100MB; at least 1GB.

That said, it's dyno-local and ephemeral; see https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem

For permanent storage, we recommend something like S3: https://devcenter.heroku.com/articles/s3

Hope this helps."

深白境迁sunset 2024-10-15 22:25:38

对于那些跟随我来到这里的人,如果你是学生并且有 GitHub 开发者包,你可以得到爱好包,以下是详细信息:适用于 GitHub 学生的 Heroku

For those who are going to come here after me, you can get the hobby pack if you are a student and have the GitHub developer pack, Here are the details: Heroku for GitHub students

傲性难收 2024-10-15 22:25:38

注意:Heroku 免费套餐即将取消

“从 2022 年 11 月 28 日开始,免费的 Heroku Dynos、免费的 Heroku Postgres 和免费的 Heroku Data for Redis® 计划将不再可用。如果您有使用任何这些资源的应用程序,您必须在此日期之前升级到付费计划,以确保您的应用程序继续运行并保留您的数据。”

“如果我不对我的免费应用程序或数据库采取任何操作,或者不升级到付费计划,会发生什么?

从 2022 年 11 月 28 日开始,免费测功机将缩减至 0,爱好开发数据库将被删除。”

参考:

https://devcenter.heroku.com/articles/free-dyno-hours< /a>

https://help.heroku.com /RSBRUH58/removal-of-heroku-free-product-plans-faq

https:// blog.heroku.com/next-chapter

Heads up: Heroku free tier is going away soon

"Starting November 28, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® plans will no longer be available. If you have apps using any of these resources, you must upgrade to paid plans by this date to ensure your apps continue to run and retain your data. See our blog and FAQ for more info."

"What happens if I take no action on my free apps or databases or do not upgrade to a paid plan?

free dynos will be scaled down to 0 and hobby-dev databases will be deleted starting November 28, 2022."

REF:

https://devcenter.heroku.com/articles/free-dyno-hours

https://help.heroku.com/RSBRUH58/removal-of-heroku-free-product-plans-faq

https://blog.heroku.com/next-chapter

沒落の蓅哖 2024-10-15 22:25:38

此外,加载页面可能需要很长时间(5-10秒)

如果不经常访问免费的dyno,它会进入睡眠模式。之后,测功机会延迟再次激活。对我来说这需要 5-10 秒。您不能通过频繁访问来欺骗系统,因为这会消耗您的免费 dyno小时

Also, loading your page might take a long time (5-10 sec)

If a free dyno isn't accessed frequently it goes into sleep mode. After that there is a delay for the dyno to become active again. For me this takes 5-10sec. You cannot fool the system by accessing it frequently because this is consuming your free dyno hours.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文