~/talk

The Aggregate is dead. Long live the Aggregate!

Talkat JCON WORLD ONLINE 2023 · on Tuesday, 2023-11-21· at 13:00· Live-Stream 1, Online - Remote· [software-architecture]
slides:none on file

Argues that traditional DDD aggregates cause needless contention and refactoring pain and proposes a behavior-first alternative called Dynamic Consistency Boundary that uses event sourcing, stream queries, tags and a conditional append API. Uses an educational example (course/student) and shows splitting a monolithic aggregate into courseInfo and courseSubscriptions, then using conditional append (query + consistency marker — e.g. last seen event 592 causes acceptance, event 593 causes rejection) and pure events with domain identifiers to remove duplicates, reduce contention and make refactors feasible.

AI-written summary · about

  1. 0:00Introduction
  2. 2:33Aggregate pitfalls overview
  3. 7:35Aggregate breaks storytelling
  4. 8:40Aggregate mixes technical and business
  5. 13:20Larger aggregates cause contention
  6. 16:37Splitting aggregates trade-offs
  7. 19:05Refactoring aggregates is hard
  8. 21:54Multi-aggregate transactions add complexity
  9. 27:18Rethinking the command model
  10. 29:06Focus on behavior over structure
  11. 31:38Query-based event streaming
  12. 35:38Conditional append for consistency
  13. 40:56Removing duplicate events
  14. 42:02Pure events and domain identifiers
  15. 47:17Dynamic consistency boundaries
  16. 49:01Conclusion and feedback
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.