What happens if the number of API calls for a SQS fifo queue exceeds the quota?

0

The document says:

Without batching, FIFO queues support up to 300 API calls per second, per API method (SendMessage, ReceiveMessage, or DeleteMessage).

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html

  • What happens if I call the API at a higher rate than 300 calls per second?
    • Do I get any exceptions in the client side?
    • Are those messages sent while the limit is reached gonna be ignored, or do they just wait to be processed until the next time window?
已提问 2 年前1797 查看次数
2 回答
0

If you exceed the limit then you'll receive a HTTP 429 error ('Rate Exceeded'). It's up to the client to retry those messages (as they haven't been received as they are above the rate limit).

profile pictureAWS
专家
已回答 2 年前
0

The client trying to send the messages will get an error and it is up to the client to retry. If the client doesn't retry the message, it will be ignored.

profile pictureAWS
专家
Uri
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则