Choosing an Erlang Supervisor Restart Strategy for Stateful Workers
Use one_for_one for independent stateful gen_servers, pair it with caller timeouts, and verify fresh state after a kill.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use one_for_one for independent stateful gen_servers, pair it with caller timeouts, and verify fresh state after a kill.
A technical guide on choosing between ETS and Mnesia for Erlang state management, comparing performance, durability, and distribution with a hybrid implementation example.
Upgrade a running Erlang OTP node to a newer release without downtime using release_handler. Follow the step‑by‑step guide to prepare, execute, verify, and roll back if needed.
A diagnostic guide for Elixir GenServer synchronous timeouts, growing mailboxes, and cascading backpressure in supervised systems.
Match Erlang OTP restart strategies to your failure domain so a crashing worker does not restart unrelated services.
Learn how to manage process state in Elixir using GenServer, including the critical technical differences between synchronous calls and asynchronous casts to avoid timeouts and mailbox overflows.
Learn how to use gleam_otp to implement Erlang gen_server behaviours and supervision trees in Gleam, with concrete build and verification steps for the Erlang target.
Frequent `:shutdown` messages and CPU spikes signal rapid child restarts; this guide shows how to diagnose and fix Supervisor restart strategy issues in Elixir.
Learn how to update an Erlang/OTP application on a live node using release_handler, appup files, and OTP’s built‑in rollback. Follow a step‑by‑step guide, verify the upgrade, and recover if something goes wrong.