Handling Asynchronous Errors with Dead Letters
Explore how AWS Lambda handles asynchronous errors through automatic retries and the use of dead letter queues. Understand configuring retry limits, using SNS and SQS for error notifications, and setting up custom error processing. This lesson equips you with techniques to manage failed asynchronous events efficiently in serverless applications.
We'll cover the following...
With synchronous calls, errors can be reported directly back to the caller, and the caller can then decide whether it’s worth retrying or not. With asynchronous calls, the caller can’t do that, because it is not waiting on results.
The good news is that to protect you against intermittent network problems or transient infrastructure issues, Lambda will automatically retry twice. AWS does not publish any official documentation on the duration between ...