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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠