Cianplan

Level 3: Distributed systems · L3.3 Queues, pub/sub & event-driven architecture

Delivery guarantees, DLQs and poison messages

Design consumers with visibility timeouts, DLQs and idempotency.

12 min · Pro

What you take away

  • A visibility timeout is a lease: if it is shorter than processing time, the broker redelivers work that is still in progress.

And 3 more inside the class, in Pro.

How the class is laid out

  1. The problem
  2. The simple version
  3. The lease you did not realise you had
  4. Dead-letter queues that actually work
  5. Check your understanding