ld.← ALL FIELD NOTESSELECTED WORK ↗
FIELD NOTES / 21RELIABILITY   ·   DISTRIBUTED SYSTEMS

A dead-letter queue is a signal, not a solution.

A dead-letter queue catches work the system could not process. It does not resolve the failure by itself.

Different failures need different responses

A malformed message points toward an upstream validation or contract problem. A downstream outage that lasts longer than the retry window needs a different response: investigate the failure and plan a safe replay once the dependency has recovered.

Those situations should not be treated as identical. Before acknowledging or discarding a malformed message, preserve enough diagnostic information and investigate the source.

Make the signal actionable

A queue nobody monitors can become a quiet pile of unresolved work. Configure an alert, give someone an ownership path, and make replay safe against duplicates and ordering issues.

For me, a DLQ is not the finish line. It is the point where the system tells us that automatic recovery was not enough.

Continue the conversation

KEEP READING / 20Ordering is more than the order a queue returns.

Another note from the notebook.