sagelearnai

Event-Driven Architecture, CDC and the Outbox

Event-driven systems let services react to things that happened instead of calling each other directly. Done well, they decouple teams and scale independently; done badly, they lose events, duplicate side effects and become impossible to trace. This lesson gives you the reliable building blocks.

In this lesson

  • Learning objectives
  • Commands vs events
  • The dual-write problem
  • Consumers that survive reality
  • Choreography vs orchestration (again)
  • When not to go event-driven
  • Self-check

Questions covered

  1. What is the dual-write problem and how do you solve it?
  2. How do you make an event-driven system debuggable?

This lesson is part of System Design Interview: Concepts, Patterns & Real Designs. Unlock the full course to read it, take the quiz and track your progress.

See plans →

Last reviewed 2026-11-05.