<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi" -->

---
title: Fallout: Dead Letter Management At Scale by Joris...
description: A conference talk from Spring I/O explains how a large AWS-based integration platform (Nederlandse Loterij, 50+ SQS queues, ~20M messages/month) handles dead...
canonical: https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Fallout: Dead Letter Management At Scale by Joris Kuipers @ Spring I/O 2026 | daily.dev
og:description: A conference talk from Spring I/O explains how a large AWS-based integration platform (Nederlandse Loterij, 50+ SQS queues, ~20M messages/month) handles dead...
og:url: https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi
og:image: https://api.daily.dev/og/posts/h0wdVn9ZI.png
og:image:alt: Fallout: Dead Letter Management At Scale by Joris Kuipers @ Spring I/O 2026
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Fallout: Dead Letter Management At Scale by Joris Kuipers @ Spring I/O 2026

**[Spring I/O](https://daily.dev/sources/springio)** · 50 min read · 0 upvotes · 0 comments

## Summary

A conference talk from Spring I/O explains how a large AWS-based integration platform (Nederlandse Loterij, 50+ SQS queues, ~20M messages/month) handles dead letter queue management. It covers why messages fail (95% transient errors, stale actions, or bugs/incompatibility), and describes a custom-built tool that automatically retries messages on schedules, tracks a DQ (dequeue) counter via message attributes to know how many times a message has been recycled, supports bulk move/delete/purge operations, and links messages to Datadog logs via W3C trace context IDs for root-cause investigation. Key practices emphasized: batch operations (10x cheaper/faster on SQS), idempotent downstream calls, deriving source-queue metadata instead of hardcoding config, handling non-consuming reads (SQS visibility timeout), and guarding against payload incompatibility when old dead-lettered messages get replayed after a new deployment.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=UFIFvqTFa3A>

## Questions this post answers

### What are the most common reasons messages end up on a dead letter queue in SQS?

About 95% of dead-lettered messages fail due to transient issues, like an unreachable backend service or an expired API key, which resolve themselves once retried. A smaller portion fail because the triggering action no longer matches system state, such as a wallet reservation being cancelled before confirmation. Bugs or payload/schema incompatibility between message producer and consumer versions are actually the least common cause, contrary to popular belief.

_Teams debugging flaky message pipelines can find similar failure-pattern breakdowns curated on daily.dev._

### How can I track how many times a message has been moved from a dead letter queue back to the source queue in SQS?

Since SQS message moves create a brand-new copy with a new timestamp rather than truly moving the original, a custom message attribute (a 'DQ number') must be added and incremented each time a message is moved back from the dead letter queue, starting at one if absent. This counter reveals how many total processing attempts a message has undergone, since the creation timestamp alone can't be trusted for that.

_Anyone designing SQS retry logic can compare approaches to message aging on daily.dev._

### Why should dead letter queue operations use batching instead of moving messages one at a time in SQS?

SQS supports batch operations of up to 10 messages per API call, and since AWS charges per call rather than per message, batching makes moving or deleting dead-lettered messages roughly 10 times faster and 10 times cheaper than processing them individually. A tool that moves messages one by one, as seen in some existing open-source utilities, becomes prohibitively slow and expensive at scale.

_Engineers optimizing cloud messaging costs can track FinOps-relevant tips like this on daily.dev._

## Similar posts on daily.dev

- [On rebuilding read models, Dead-Letter Queues and Why Letting Go is Sometimes the Answer](https://daily.dev/posts/on-rebuilding-read-models-dead-letter-queues-and-why-letting-go-is-sometimes-the-answer-9srxnccwt) · Architecture Weekly · 4 upvotes · 0 comments
- [Using PostgreSQL as a Dead Letter Queue for Event-Driven Systems](https://daily.dev/posts/using-postgresql-as-a-dead-letter-queue-for-event-driven-systems-ekm9n1imv) · Hacker News · 0 upvotes · 0 comments
- [RabbitMQ vs SQS: The Queue Wasn’t the Hard Part. One Poison Message Was.](https://daily.dev/posts/rabbitmq-vs-sqs-the-queue-wasn-t-the-hard-part-one-poison-message-was--snxgytdau) · Medium · 1 upvotes · 0 comments
- [Message Queues](https://daily.dev/posts/message-queues-lxzymnupp) · Programming Digest · 9 upvotes · 1 comments
- [Amazon SQS turns 20: Two decades of reliable messaging at scale](https://daily.dev/posts/amazon-sqs-turns-20-two-decades-of-reliable-messaging-at-scale-eor4p7rmi) · AWS · 1 upvotes · 0 comments

---

Tags: [#aws](https://daily.dev/tags/aws), [#devops](https://daily.dev/tags/devops), [#spring-boot](https://daily.dev/tags/spring-boot)

[View this post on daily.dev](https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Fallout: Dead Letter Management At Scale by Joris Kuipers @ Spring I/O 2026","url":"https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi"},"datePublished":"2026-09-27T07:26:29.661Z","dateModified":"2026-09-27T07:27:35.062Z","description":"A conference talk from Spring I/O explains how a large AWS-based integration platform (Nederlandse Loterij, 50+ SQS queues, ~20M messages/month) handles dead...","image":"https://i.ytimg.com/vi/UFIFvqTFa3A/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/UFIFvqTFa3A/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Spring I/O","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spring I/O","logo":"https://media.daily.dev/image/upload/s--e-TcwM9B--/f_auto,q_auto/v1790493985/logos/springio?_a=BAMAMicg0","url":"https://daily.dev/sources/springio"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"aws,devops,spring-boot","timeRequired":"PT50M","video":{"@type":"VideoObject","name":"Fallout: Dead Letter Management At Scale by Joris Kuipers @ Spring I/O 2026","description":"A conference talk from Spring I/O explains how a large AWS-based integration platform (Nederlandse Loterij, 50+ SQS queues, ~20M messages/month) handles dead...","thumbnailUrl":"https://i.ytimg.com/vi/UFIFvqTFa3A/sddefault.jpg","uploadDate":"2026-09-27T07:26:29.661Z","duration":"PT50M","url":"https://api.daily.dev/r/h0wdVn9ZI","embedUrl":"https://www.youtube.com/embed/UFIFvqTFa3A"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spring I/O","item":"https://daily.dev/sources/springio"},{"@type":"ListItem","position":3,"name":"Fallout: Dead Letter Management At Scale by Joris Kuipers @ Spring I/O 2026"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/fallout-dead-letter-management-at-scale-by-joris-kuipers-spring-i-o-2026-h0wdvn9zi#faq","mainEntity":[{"@type":"Question","name":"What are the most common reasons messages end up on a dead letter queue in SQS?","acceptedAnswer":{"@type":"Answer","text":"About 95% of dead-lettered messages fail due to transient issues, like an unreachable backend service or an expired API key, which resolve themselves once retried. A smaller portion fail because the triggering action no longer matches system state, such as a wallet reservation being cancelled before confirmation. Bugs or payload/schema incompatibility between message producer and consumer versions are actually the least common cause, contrary to popular belief. Teams debugging flaky message pipelines can find similar failure-pattern breakdowns curated on daily.dev."}},{"@type":"Question","name":"How can I track how many times a message has been moved from a dead letter queue back to the source queue in SQS?","acceptedAnswer":{"@type":"Answer","text":"Since SQS message moves create a brand-new copy with a new timestamp rather than truly moving the original, a custom message attribute (a 'DQ number') must be added and incremented each time a message is moved back from the dead letter queue, starting at one if absent. This counter reveals how many total processing attempts a message has undergone, since the creation timestamp alone can't be trusted for that. Anyone designing SQS retry logic can compare approaches to message aging on daily.dev."}},{"@type":"Question","name":"Why should dead letter queue operations use batching instead of moving messages one at a time in SQS?","acceptedAnswer":{"@type":"Answer","text":"SQS supports batch operations of up to 10 messages per API call, and since AWS charges per call rather than per message, batching makes moving or deleting dead-lettered messages roughly 10 times faster and 10 times cheaper than processing them individually. A tool that moves messages one by one, as seen in some existing open-source utilities, becomes prohibitively slow and expensive at scale. Engineers optimizing cloud messaging costs can track FinOps-relevant tips like this on daily.dev."}}]}
```

