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
- What is the dual-write problem and how do you solve it?
- 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.