~/talk

All our aggregates are wrong

Talkat NDC Copenhagen 2019 · 2019-03-27..03-29· [software-architecture]
slides:none on file

Argues that modeling a shopping cart as one aggregate creates tight coupling; decomposes cart into domain-owned services (sales owns cart ID, warehouse owns inventory, shipping owns estimates) and builds a composition gateway (reverse proxy that matches routes and composes a view by parallel calls) plus per-service caches (pricing cached 10 minutes, marketing 6 months). Read composition works; writes use queues, an append-only requestId ledger for idempotence and compensations. Demo is a 36-project demo showing this approach in practice.

AI-written summary · about

  1. 0:00Intro
  2. 1:10Buy a "Banana Protector"
  3. 2:11Sounds like a nice looking aggregate
  4. 5:21However, availability changes over time
  5. 6:26Business requirements (#3)
  6. 9:03It's becoming messy, isn't it?
  7. 11:27Can we get rid of all this coupling?
  8. 14:01Let's decompose the Shopping Cart
  9. 15:34Marketing tends to be stable
  10. 17:33We followed the coupling
  11. 20:39Can Read Models be a solution?
  12. 22:48We cannot cache everything
  13. 25:15Shared identifiers
  14. 27:05View Model Composition (flow)
  15. 30:32Sales Product Requests Handler
  16. 30:49Sales Request matching
  17. 31:30Sales Composition
  18. 33:44View Model Decomposition
  19. 35:45Shipping Request Matching
  20. 36:06Shipping Decomposition
  21. 38:48Shipping Error Handling
  22. 44:55Full Vertical Slices
  23. 47:19Services communication channel
  24. 50:53The final big picture
~/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.