Kill Aggregate!
summary
Argues that aggregates cause storytelling friction, unnecessary contention and painful refactors, then demonstrates a concrete alternative: load exactly the events a command handler needs via a stream query (domain IDs + event types), use an optimistic conditional append with a consistency mark to reject stale commits, and store single pure events tagged to multiple domain identifiers so one transaction can validate cross-entity rules (course/student example) without sagas. Shows event-reordering is needed when splitting aggregates and notes AxonIQ is building support for dynamic consistency boundary.
AI-written summary · about
chapters (11)
- 0:00Introduction and welcome
- 2:04What is an aggregate
- 5:20Five flaws of aggregates
- 10:49Aggregate breaks storytelling
- 11:35Aggregate mixes technical and business
- 15:50Larger aggregate means more contention
- 24:10Refactoring aggregates is hard
- 28:01Transactions across aggregates
- 30:11Alternative to aggregates
- 48:41Dynamic consistency boundaries
- 49:24Q&A session
