~/talk

10 Lessons From Implementing The Actor Model

Talkat GOTO Amsterdam 2023 · 2023-06-13..06-15· [concurrency, software-architecture]
slides:none on file

Production system uses the actor model with Akka/Akka.NET in a cluster, replaces per-file persistence with media set aggregate persistence (TV/radio program as the event-sourcing root), and removes a file dispatcher by assigning one actor per file worker. Observed performance: 4 million msgs/s on tell vs ~150k with ask, so avoid ask and prefer one‑way messages plus FSMs for aggregation. Other concrete choices: start non-clustered, keep persistence at aggregate roots, let actors schedule reminders and validate themselves, avoid singletons and be conservative about split‑brain resolvers.

AI-written summary · about

  1. 0:00Intro
  2. 4:51Why actor model & Akka?
  3. 8:39Lesson 1
  4. 15:39Lesson applied
  5. 16:54Example
  6. 19:42Lesson 2
  7. 23:09Lesson 3
  8. 25:05Lesson 4
  9. 27:55Lesson 5
  10. 29:44Lesson 6
  11. 34:16Lesson 7
  12. 35:56Lesson 8
  13. 38:19Lesson 9
  14. 39:53Lesson 10
  15. 43:42The 10 lessons
  16. 44:06Outro
~/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.