~/talk

Learning about Supervisors using Phoenix LiveView

Talkat Code BEAM Lite Stockholm 2023 · on Friday, 2023-05-12· [elixir-and-erlang, web-platform]
links:none on file
slides:none on file

A LiveView app is shown that visualises an OTP supervision tree, built with Phoenix LiveView and styled with Tailwind. It actually spawns supervisors and workers, can create five workers on demand, demonstrates killing a worker and seeing it auto-restart, and creates nested supervisors with one_for_all and restart limits so the different strategies are obvious. Source code is available, the demo ran reliably in the presentation, and the initial demo took about four hours to assemble.

AI-written summary · about

  1. 0:00Introduction
  2. 1:43Inspiration
  3. 2:54Phoenix LiveView
  4. 4:20Supervision Tree
  5. 5:36Demo
  6. 8:35Conclusion
  7. 9:43Questions
~/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.