Search⌘ K

Supervisor Strategies

Explore different Elixir supervisor strategies to manage GenServer child processes when failures occur. Understand how to choose the right approach based on process dependencies and system needs to improve concurrency and resilience.

Types of supervisor strategies

We left one question unanswered. We used a setting called :strategy with a value of :one_for_one when we created the DynamicSupervisor and Supervisor processes. When creating a supervisor from scratch, we have the following supervisor strategies available:

  • ...