Skip to content

Queues and delivery guarantees

Predict backlog and recovery time, trace acknowledgements through failures, and design safe redelivery, ordering and dead-letter handling.

25 min8 steps

By the end you can
  • Calculate backlog growth and drain time with continuing arrivals
  • Identify loss and duplicate windows around processing and acknowledgement
  • Choose partition keys and concurrency for per-entity ordering
  • Choose bounded retries, dead-letter handling and back-pressure

Accepted is not processed

A publish confirm means only what the broker's durability policy promises. It is not processing, and not atomic with your database commit. Use an outbox plus idempotent consumers.

outbox rowpublish + confirmCheckoutorder + job, one commitRelayDurable queue
Consumers still see duplicates.

The broker confirms a durable publish. What has that confirmed?

Answer this step to continue.