~/talk

Learn Elixir by Building a Real Time CLI Chat App (Part 3)

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
slides:none on file

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

  1. 0:00Start
  2. 3:21NO ESCAPE RETURN
  3. 3:54EXPLICIT STATE & RECURSION
  4. 7:19TAGGED TUPLES
  5. 9:27PROCESSES
  6. 16:32THE ACTOR MODEL
  7. 38:08BUILD A COUNTER
~/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.