简体   繁体   English

Mashery配额:每天“呼叫”或“24小时”呼叫?

[英]Mashery Quotas: Calls per “day” or calls per “24-hours”?

I am accessing an API hosted by Mashery with the following rate limit: 我正在访问由Mashery托管的API,具有以下速率限制:

  • 5 calls per second 每秒5次通话
  • 10,000 calls per day 每天10,000个电话

Does that imply that I can make 10,000 requests at 6:00PM, and then make another 10,000 requests at midnight? 这是否意味着我可以在下午6点发出10,000个请求,然后在午夜再发出10,000个请求? Or, does it mean I can only make 10,000 requests within any 24-hour period? 或者,这是否意味着我只能在任何24小时内发出10,000个请求?

For example, does it mean that if I make 10,000 requests between 6:00PM one day, and 6:00PM the next, that I have to wait until 6:00:01PM before I can make another request. 例如,是否意味着如果我在下午6:00和下一次下午6:00之间发出10,000个请求,那么我必须等到下午6:00:01才能发出另一个请求。 And then, at most I can make requests at the same rate I made the day prior (as the 24-hour period continuously shifts)? 然后,我最多可以按照前一天的相同费率提出请求(因为24小时不断变换)?

I apologize if this is off-topic. 如果这是偏离主题,我道歉。 I have a support request in for clarification, but I don't think they'll get back to me any time soon, and I figured that someone here would be familiar with the limits. 我有一个支持请求澄清,但我不认为他们会很快回复我,我认为这里有人会熟悉限制。

The limit is set per Calendar date and resets every midnight GMT time. 每个日历日期设置限制并重置每个午夜GMT时间。 So for example if you made 10,000 calls at 6pm pacific (which is 2am GMT) you would have to wait 22 hours until 4pm pacific (which is midnight GMT) until you can start using your next batch of 10,000 daily calls. 因此,例如,如果您在太平洋时间下午6点(格林威治标准时间凌晨2点)拨打10,000个电话,则必须等待22个小时,直到太平洋时间下午4点(格林尼治标准时间午夜),直到您可以开始使用下一批10,000个每日电话。

Hope that answers your question. 希望这能回答你的问题。

Thanks, 谢谢,

Shai Simchi Mashery Customer Support Shai Simchi Mashery客户支持

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM