~/talk

Aggregates Composition: A new view on Aggregates

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

Presents a concrete decider pattern implemented in F# with decide/evolve/initial/terminal functions, an in-memory runner for quick staging, and an ES-KV toy used to persist state or switch to event sourcing without changing domain code. Shows tests-as-behaviour, a 2,000-line real decider example converted to 11,000 PHP, optimistic concurrency via e-tags, and a generic compose function that folds multiple deciders (cat + bulb) into one decider so composition is monoidal and works with processes that emit commands.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:05Problem with aggregates definition
  3. 3:14Introducing decider pattern
  4. 9:23Writing domain code example
  5. 12:58Testing decider logic
  6. 16:47Running decider in memory
  7. 20:49Persisting state with key-value store
  8. 25:18Implementing event sourcing
  9. 31:55Composing deciders together
  10. 38:48Demo of composed deciders
  11. 41:43Scaling with multiple instances
  12. 43:08Combining processes and deciders
  13. 47:03Demo of process integration
  14. 50:41Final demo and summary
~/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.