Learn Elixir by Building a Real Time CLI Chat App (Part 3)
summary
Builds a fully distributed CLI chat app using core Elixir/OTP primitives and shows how it actually works: GenServer/Task/spawn-based processes, GenServer, message passing with timeouts, and supervision trees for fault recovery. Demonstrates runtime inspection with observer, spawns ~100000 processes on a laptop and claims hotspots up to ten million, shows restarting children and simple looping counters, and wires real networked CLI messaging so the app runs end to end.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:21NO ESCAPE RETURN
- 3:54EXPLICIT STATE & RECURSION
- 7:19TAGGED TUPLES
- 9:27PROCESSES
- 16:32THE ACTOR MODEL
- 38:08BUILD A COUNTER
related talks
39mIntroducing Elixir: Your entire web stack
47mLivebook & Elixir: Where AI, Web & Concurrency Meet
35mEdgelixir: Distributed Graph Processing in Elixir
25mApplied Machine Learning in Elixir
04mLightning Talks – Przemyslaw Krowinski
53mBuilding Agentic Applications w/ Heroku Managed Inference and Agents
01h 00mKeynote – Kyle Polich
32mImplementing a Multi-Tenant Generative AI Chatbot.
