What is a Dead Letter Queue?
A dead letter queue is a holding location for messages or jobs that a processing system tried and failed to handle successfully, so they can be inspected and retried instead of being silently dropped.
In any queue-based architecture, some percentage of messages will fail — a downstream API is down, the payload is malformed, or a bug throws on a specific input shape. Without a dead letter queue, that failure either blocks the whole queue (a poison message stuck at the head) or vanishes, and nobody notices data went missing until a customer complains.
The standard pattern caps retries with backoff, then routes the message to a separate DLQ instead of looping forever. From there, an operator or an automated reconciler can inspect the failure reason, fix the root cause, and replay the message back into the main queue. Mature systems alert on DLQ depth so a spike in failures gets noticed within minutes, not weeks.
Dead letter queues are a resilience primitive, not an error-hiding one — they only help if something actually watches them.
In practice with Neotask
Neotask's job worker routes a chat-send or automation task to a dead letter collection after bounded retries with backoff, tagged with the failure reason, so a stuck job never blocks the tenant's queue and an operator can replay it once the underlying issue (like a rate-limited provider) clears.
Related terms
- durable-execution
- job-queue
- retry-logic
- workflow-orchestration
Plans
Free
$0/mo
Download without a card and start for free.
Individual
$50/mo
The full personal agent platform for one person.
Business
$100/mo
One company workspace with room to add your team.
Enterprise
$200/mo
Multiple workspaces and capacity for larger teams.
Continue