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?
asked 2 years ago1781 views
2 Answers
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
EXPERT
answered 2 years ago
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
EXPERT
Uri
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions