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
已提問 4 個月前檢視次數 100 次
1 個回答
0
已接受的答案

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
專家
已回答 4 個月前
  • Thank you very much for your answer!!

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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南