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 年前檢視次數 1774 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南