The ABCs of OTP
summary
Shows concrete code and a live demo that builds a small stateful app (a fantasy team demo) and proves it works: spawn to create processes, a GenServer implementation (handling cast vs call), an Agent alternative, and a module-based Supervisor with one_for_one restart. Explains process IDs, message sending, how restarts fix transient state bugs, and why GenServer hides edge cases. Expect runnable examples, command lines and on-stage results rather than abstract platitudes.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:32What is OTP
- 2:46Processes
- 4:27Error Handling
- 6:01Supervision Tree
- 7:57Bugs
- 10:29Messages
- 12:41StartLink
- 16:28Example
- 18:12GenServer
- 26:14Agents Tasks
- 27:42Supervisor
- 29:40Conclusion
related talks
45mTesting Asynchronous OTP
40mAdvanced asyncio: Solving Real-world Production Problems
01h 08mA Story of Mob Programming, Testing and Everything
51mA Story of Mob Programming, Testing and Everything -
37mPainless Testing of Event-Driven Architecture
36mStateful property-based testing: with a game logic case study
37mFull Stack Teleport Testing with Om Next & Datomic
26mTesting the Tricky Stuff
