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?
preguntada hace 2 años1824 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace 2 años
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
EXPERTO
Uri
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas