~/talk

Model Mitosis: dealing with model tensions

Talkat DDD Foundations 2023 · on Wednesday, 2023-06-07· [software-architecture]
slides:none on file

Demonstrates Model Mitosis: iteratively dispatch behaviors into provisional bounded contexts, duplicate-and-specialize overlapping concepts, then shrink a shared kernel until clear boundaries emerge. Uses IntelliJ, in-memory repositories and a chatbot assistant (Shot 3PO / chatripio) to refactor a monolith search+booking codebase into separate search and booking models with an anti-corruption layer mediating conversions. Builds a working booking feature, fixes compilation and invariant issues, and justifies eventual service split when search load and deployment cadence diverge.

AI-written summary · about

  1. 0:00Introduction
  2. 1:37The MVP success and problems
  3. 2:50Demonstrating the new feature
  4. 4:17Code review and model tension
  5. 6:35Decoupling search and booking
  6. 8:19Analyzing model duplication
  7. 12:25Refactoring by behavior
  8. 15:42Dispatching domain concepts
  9. 18:29Handling shared concepts
  10. 21:15Implementing a shared kernel
  11. 25:54Anti-corruption layer
  12. 30:27Implementing new features
  13. 33:47Refining model specialization
  14. 37:11Tax computation logic
  15. 41:24Handling past bookings
  16. 44:55Finalizing service isolation
  17. 49:41Theoretical debrief and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.