Level 3: Distributed systems · L3.4 Sagas, outbox, CQRS & event sourcing
CQRS: separate read and write models
Decide when CQRS is worth its complexity.
12 min · Pro
What you take away
- CQRS means separate models for writing and reading — not necessarily separate databases.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The simple version
- A spectrum, not a switch
- The cost that bites
- Check your understanding