Learning about Supervisors using Phoenix LiveView
summary
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
chapters (7)
- 0:00Introduction
- 1:43Inspiration
- 2:54Phoenix LiveView
- 4:20Supervision Tree
- 5:36Demo
- 8:35Conclusion
- 9:43Questions
related talks
40mThe Power & Performance of Phoenix LiveView
35mKeynote: Fireside Chat on LiveView, (...)
29mImproving Developer Experience with LiveDashboard
28mLobbying with Elixir: Real-Time LiveView and OTP
30mTales of Using Phoenix LiveView at an Early Stage Startup
01h 13mKeynote: Phoenix LiveView - Interactive Apps without Javascript
24mBuilding an Interview Scheduler in LiveView: A Newcomer's Journey.
39mBeyond Liveview: Real Time Features With Liveview
