Using the Actor Pattern in Elixir
summary
Live coding builds a small dungeon where a princess process spawns and sends messages to a GenServer monster, tests via mix/ExUnit assert life decreases, uses cast/call and shows state held in the server, demonstrates start_link linking and supervisor restart strategies (hive restarts dead monsters), uses process flags like trap_exit, mentions distribution (32‑node clusters, billions of processes) and tools ETS GenStage Mnesia; everything is concrete code, test output and observed restarts, not abstract theory.
AI-written summary · about
chapters (5)
- 0:00Start
- 2:24What Is the Actor Model
- 6:45Create a New Project
- 20:16Client Api
- 48:32Supervision Strategy








