Level 3: Distributed systems · L3.4 Sagas, outbox, CQRS & event sourcing
The transactional outbox
Solve the dual-write problem with an outbox and CDC.
11 min · Pro
What you take away
- Writing to the database and publishing an event are two operations, and a crash between them leaves them disagreeing forever.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- Check your understanding