Skip to main content

Command Palette

Search for a command to run...

Daily Hack #day76 - Use Dead Letter Queues

Published
1 min read
Daily Hack #day76 - Use Dead Letter Queues

Use Dead Letter Queues to save event invocation data

Serverless architectures rely heavily on asynchronous communication between functions and services.

This often creates points of failure which can leave processes in an incomplete state when messages go undelivered.

Dead Letter Queues (DLQs) can be set up to catch failed communications.

An asynchronously invoked Lambda function will be retried twice by default, but when it fails, the DLQ will catch the invocation data. We can even use SQS triggers to process these failed events.

Daily Hacks

Part 1 of 50

Introducing our Daily Hack Series, a curated collection of bite-sized tips, tricks, and hacks aimed at optimizing your daily productivity.

More from this blog

Cloud Tuned

646 posts

Your starting point for anything cloud: AWS, Azure, GCP, Serverless, Architecture, Hybrid Cloud, Systems Design and other Information Technology topics.