Embracing Event Sourcing with Akka
summary
Argues that event sourcing with Akka gives concrete machinery: actor mailboxes provide aggregate isolation by design, Akka Persistence handles serialized append‑only journals and Akka Projections tracks offsets for consuming views. States that commands are validated or rejected, events are immutable facts and replayed (so events are facts and handlers must be pure), and append‑only storage implies eventual consistency; recommends projections for downstream commands (at‑least‑once) rather than calling other aggregates — never call a friend — and warns against fake or fat aggregates.
AI-written summary · about
chapters (13)
- 0:00Introduction and background
- 2:54From OOP to event sourcing
- 8:58Discovering event sourcing and DDD
- 11:30Event sourcing basics and CQRS
- 14:20Command and read side machinery
- 21:04Implicit rules in event sourcing
- 24:14How Akka supports event sourcing
- 28:21Why use event sourcing
- 33:13Common event sourcing pitfalls
- 41:01Good bad and ugly event design
- 43:56Key takeaways and principles
- 46:44Resources and further reading
- 48:06Q&A session
