Level 3: Distributed systems · L3.4 Sagas, outbox, CQRS & event sourcing
Event sourcing and workflow engines
Explain event sourcing and when a workflow engine (Temporal, Step Functions) helps.
12 min · Pro
What you take away
- Event sourcing stores state as an append-only log of events; current state is a fold over that log, not a row you overwrote.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The simple version
- What event sourcing costs
- Workflow engines
- Sagas
- Outbox
- CQRS
- Event sourcing
- Workflow engines
- Check your understanding