Async Lambda retries conflicting documentation

0

Hello,

Getting up to speed on Lambda limits and reading through the docs and faqs I have found conflicting retry behaviour for asynchronous invocation:

"Lambda functions being invoked asynchronously are retried at least 3 times."
source: https://aws.amazon.com/lambda/faqs/

"Asynchronous invocation: If your Lambda function is invoked asynchronously and is throttled, AWS Lambda automatically retries the throttled event for up to six hours, with delays between retries."
source: https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html

"If AWS Lambda is unable to fully process the event, it will automatically retry the invocation twice, with delays between retries"
source: https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html

I understand some of the docs may be specific to throttling and the retry policy for it may be different but it's unclear what's what.

Does anyone know which one is right? I was mostly interested in throttling retry behaviour (max concurrency limit reached)

Thanks

已提问 5 年前1040 查看次数
1 回答
0
已接受的回答

Hi Robert,

All three documents you provided are correct though somewhat confusing. We categorize Lambda processing errors into system errors such as throttling and customer errors such as invalid runtime. System errors are retried for six hours with delays between retries; customer errors are retried twice. Hope this clarifies.

Thanks
Jia

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则