Skip to content

Dead Letter Queue

Medium — good to knowBackend

ELI5 — The Vibe Check

A dead letter queue is where failed messages go to die (or at least wait for someone to fix them). If a message fails processing after multiple retries, instead of losing it or retrying forever, it goes to the DLQ. It's the 'return to sender' pile of message queues.

Real Talk

A dead letter queue (DLQ) is a secondary queue that stores messages that couldn't be processed successfully after exhausting retry attempts. It prevents poison messages from blocking the main queue while preserving them for debugging, manual intervention, or reprocessing. DLQs are standard in AWS SQS, RabbitMQ, Kafka, and most message brokers.

When You'll Hear This

"Check the dead letter queue — there are 200 failed payment messages from last night." / "We replay DLQ messages after fixing the bug that caused the failures."

Made with passive-aggressive love by manoga.digital. Powered by Claude.