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

preguntada hace 5 años1041 visualizaciones
1 Respuesta
0
Respuesta aceptada

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

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas