~/talk

Actors can rule your DDD world

Talkat NDC Porto 2022 · 2022-04-25..04-29· [frontend-architecture]
slides:none on file

A homemade shipping app called beerSender.net handles real-world UPS customs failures and uses .NET 6 with Akka.NET to model each DDD aggregate as a persistent actor with a unique persistence id, snapshotting (example: every 100 events) and the persist()/recover lifecycle. Commands flow through a command router that can be a pool with consistent hashing to shard aggregates, while projector actors subscribe to the event stream to update read stores; claimed throughput is millions of messages per second.

AI-written summary · about

  1. 0:00Intro
  2. 1:12Lockdown boredom
  3. 2:19Reality
  4. 3:18Sending beer is tricky
  5. 4:04DDD in a nutshell
  6. 6:11Commands & Events
  7. 9:33What I want
  8. 13:16The simplest actor
  9. 15:00The Actor System
  10. 17:17Actor hierarchy
  11. 17:52Creating Children
  12. 21:42Supervision
  13. 29:20Aggregates
  14. 29:42Base behavior
  15. 30:36Implementation (State)
  16. 31:10Implementation (Commands)
  17. 31:55Implementation (Events)
  18. 32:39Test base class (1)
  19. 34:03Clean Test
  20. 35:45Aggregate Actor
  21. 36:04Base Actor (3)
  22. 40:22Aggregate manager
  23. 42:20Command Router
  24. 44:27Projectors
  25. 45:38Fold the event stream
  26. 48:33Inbox overflow
  27. 53:36Things we didn't talk about
~/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.