Supervisor Tree

Noun · Development

Definitions

  1. A hierarchical structure in Erlang/OTP (and Elixir) where supervisor processes monitor child processes (workers or other supervisors) and apply a restart strategy — one-for-one, one-for-all, or rest-for-one — when a child crashes, enabling self-healing fault tolerance.

    In plain English: A tree-shaped management structure where boss processes watch over worker processes and automatically restart any that crash.

    Example: "Each WebSocket connection is a worker under a supervisor tree — if one crashes, the supervisor restarts just that process without taking down the whole node."

Related Terms