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
posta 4 mesi fa101 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
con risposta 4 mesi fa
  • Thank you very much for your answer!!

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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande