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?
gefragt vor 2 Jahren1823 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 2 Jahren
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
EXPERTE
Uri
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen