#Supervisor
4 notas · última:
How to build a self-healing system using supervision tree in Elixir
Explains how Elixir supervision trees make systems reliable by restarting failed processes, using workers, supervisors, restart strategies, and self-termination to recover from repeated crashes.
A Brief Guide to OTP in Elixir
The article introduces OTP as Elixir’s process-based toolkit, then shows basic processes, receive loops, GenServer callbacks, and a Supervisor for restarting a treasury process.
Supervising multiple GenServer processes
The post refactors a single board monitor into one GenServer per board, supervised by a module-based Supervisor, so a failure in one board does not wipe the state of the others.
Elixir Application Design
The post uses Cowboy and Mix to explore OTP application design, emphasizing process structure, supervisor setup, and the state kept by Mix.TasksServer and Mix.ProjectStack.
