Messaging & Events System Designs

Worked Messaging & Events system design walkthroughs: the requirements, the trade-offs, real numbers and the component choices behind each design.

Browse all system designs

  1. Event-Driven Architecture: Events, Sourcing, Sagas and Eventual Consistency

    A deep-dive into event-driven systems covering event sourcing, the saga pattern, and eventual consistency—with real trade-offs, failure modes, and interview-ready talking points.

    Messaging & Events · advanced · 12 min read

  2. Message Queues: Delivery Semantics, Ordering, Dead-Letter Queues, and Back Pressure

    A deep dive into how message queues guarantee delivery, preserve order, handle poison messages, and protect downstream services from being overwhelmed.

    Messaging & Events · intermediate · 12 min read

  3. Publish/Subscribe Messaging and Fan-out

    A deep dive into pub/sub architecture, fan-out patterns, and the trade-offs between broker-based and log-based systems for scalable async communication.

    Messaging & Events · intermediate · 12 min read

  4. Task Queues, Workers and Back Pressure

    How to decouple producers from consumers using task queues, size worker pools correctly, and apply back pressure before queues overflow under load.

    Messaging & Events · intermediate · 12 min read