Google App Engine - 使用 RemoteApiServlet 批量加载 - 计费

发布于 2024-09-12 08:31:22 字数 425 浏览 1 评论 0原文

我正在使用 App Engine RemoteApiServlet 和 Bulkloader 将数据加载到数据存储中。由于我上传的数据集很大(一百万个实体),我在应用程序上启用了“计费”并设置了最大值。每日预算为 5 美元,后来为 10 美元。

在我加载实体后,使用 App Engine 管理控制台,我确定将按 CPU 小时向我收取约 7 美元的费用(因为我最终使用了约 70 个 CPU 小时)。然而,当我查看账单历史记录时,我只支付了 0.05 美元(存储费用)和 0.0 美元的 CPU 时间费用。

我想知道这是否符合预期?使用 RemoteApiServlet 进行批量加载是否不按 CPU 小时计费?如果是,当我将每日最大预算设置为 5 美元并超出 CPU 配额时,我开始从服务获取 HTTP 503。如果 RemoteApiServlet 的使用免于计费,那么为什么我会看到 503 错误?

I am using the App Engine RemoteApiServlet and the Bulkloader to load data into the datastore. As the dataset that i was uploading was huge (a million entities) I enabled "Billing" on my application and set the max. daily budget to $5 and later to $10.

After i loaded the entities, using the App Engine admin console, i determined that i would be billed ~ $7 for CPU hours (as i ended up using ~ 70 CPU hours). However when i look at the Billing history, i was charged only 0.05$ (for storage) and $0.0 for CPU hours.

I want to know if this is expected? Is Bulkloading using the RemoteApiServlet not billed for CPU hours ? If yes, when i set a max daily budget of $5 and exceeded my CPU quota i started getting HTTP 503's from the service. If the usage of the RemoteApiServlet is exempted from billing, then why was I seeing the 503 errors?

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

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

发布评论

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

评论(1

红焚 2024-09-19 08:31:22

Remote_api 和计费没有什么特别的。如果您在昨天我们重新启用之前执行过此操作数据存储区 CPU 计费,但是,您无需支付任何数据存储区 CPU 费用,这些费用构成批量加载的 CPU 成本的大部分。

There's nothing special about remote_api and billing. If you did this before yesterday, when we re-enabled datastore CPU billing, however, you wouldn't have been billed for any of the datastore CPU charges, which make up the majority of the CPU cost of bulkloading.

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