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
demandé il y a 4 mois100 vues
1 réponse
0
Réponse acceptée

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
EXPERT
répondu il y a 4 mois
  • Thank you very much for your answer!!

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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions