当达到 Google 节流每日限额时,该限额是从过去 24 小时开始计算的还是从午夜开始计算的?
When a Google throttle daily limit has been reached, was the limit calculated from the last 24 hours or was it calculated since midnight?
我们正在努力避免达到 Google 油门限制;所以我们想计算我们的使用量,并在接近限制时延迟请求。
每日限额是从午夜到午夜计算的,还是根据滚动的 24 小时计算的?如果是从午夜到午夜,那么使用的是哪个时区?协调世界时?
此外,同样适用于每小时限制等吗?
来自How resources are replenished:
App Engine tracks your application's resource usage against system
quotas. App Engine resets all resource measurements at the beginning
of each calendar day (except for Stored Data, which always represents
the amount of datastore storage in use). When free applications reach
their quota for a resource, they cannot use that resource until the
quota is replenished. Paid apps can exceed the free quota until their
spending limit is exhausted.
Daily quotas are replenished daily at midnight Pacific time.
Per-minute quotas are refreshed every 60 seconds.
您还可以在 App Engine Dashboard 中查看您的应用的特定当前信息,如下所示:
我们正在努力避免达到 Google 油门限制;所以我们想计算我们的使用量,并在接近限制时延迟请求。
每日限额是从午夜到午夜计算的,还是根据滚动的 24 小时计算的?如果是从午夜到午夜,那么使用的是哪个时区?协调世界时?
此外,同样适用于每小时限制等吗?
来自How resources are replenished:
App Engine tracks your application's resource usage against system quotas. App Engine resets all resource measurements at the beginning of each calendar day (except for Stored Data, which always represents the amount of datastore storage in use). When free applications reach their quota for a resource, they cannot use that resource until the quota is replenished. Paid apps can exceed the free quota until their spending limit is exhausted.
Daily quotas are replenished daily at midnight Pacific time. Per-minute quotas are refreshed every 60 seconds.
您还可以在 App Engine Dashboard 中查看您的应用的特定当前信息,如下所示: