How many times will Lambda retry in case of 429 and 500 series errors?

0

For 429 and 5xx errors, the document says:

If the function doesn't have enough concurrency available to process all events, additional requests are throttled. For throttling errors (429) and system errors (500-series), Lambda returns the event to the queue and attempts to run the function again for up to 6 hours. The retry interval increases exponentially from 1 second after the first attempt to a maximum of 5 minutes. If the queue contains many entries, Lambda increases the retry interval and reduces the rate at which it reads events from the queue.

I want to find out how many retries will happen in cases like this.

AWS2024
preguntada hace 4 meses100 visualizaciones
1 Respuesta
0
Respuesta aceptada

Hi,

The Lambda retry strategy is different depending on the service with which Lambda is used.

This post explains those various strategies depending on the other service: https://www.serverlessguru.com/blog/lambda-retry-mechanisms

Best,

Didier

profile pictureAWS
EXPERTO
respondido hace 4 meses
  • Thank you very much for your answer!!

  • You're very welcome! Thanks for accepting my answer

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