Message Queues

System Design

A Message Queue Is a Contract About Delivery, and the Contract Has Terms

A message queue promises to deliver messages, but the promise has terms — at-least-once, at-most-once, ordering, and retries — and…

Read More »
System Design

Every Retry Is a Duplicate Waiting to Happen

Networks fail after the request arrives but before the response returns. Without idempotency, your retry logic is a duplicate-charge generator.

Read More »
Backend & APIs

A Job Queue Will Eventually Run the Same Job Twice

At-least-once delivery is the practical guarantee almost every queue actually provides, and a job handler that assumes exactly-once will eventually…

Read More »
Back to top button