已达到数据存储小型操作配额

Datastore Small Operations quota reached

经过大量研究,我决定在我的代码中进行大量仅键查询。部分原因来自 Google's App Engine Pricing Page 的以下引述(是的,当编码意味着金钱时,这真是太神奇了)。

Calls to the datastore API result in the following billable operations. Small datastore operations include calls to allocate datastore ids or keys-only queries. These operations are free. This table shows how calls map to datastore operations:

所以在过去的几个月里,我搭了顺风车。今天早上,我的网站上activity很少,我的Datastore Small Operations已经达到配额,现在是红色的,导致我的网站出现问题。这里有谁知道是否有人更改了 Google 账单 Datastore Small Operations 的方式? API 是否以某种方式改变导致我现有的代码被认为是糟糕的工程设计?感谢您对此问题的任何见解。

如果您启用了计费,则对小操作的数量没有限制。没有它,限制只有 50,000 次操作。

由于这些操作是免费的,因此启用计费也无妨。