...

/

Handling Asynchronous Errors with Dead Letters

Handling Asynchronous Errors with Dead Letters

In this lesson, you will learn how to handle asynchronous​ errors with dead letters by modifying the template file.

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 retries, but experience shows that the first retry will happen almost immediately after an error. If the function fails to process the event again, the second retry will happen about ...

Access this course and 1400+ top-rated courses and projects.