Building Fault-Tolerant Actors with gleam/otp
Learn how to implement type-safe concurrent actors in Gleam using gleam/otp, including state management, supervision strategies, and BEAM VM integration.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to implement type-safe concurrent actors in Gleam using gleam/otp, including state management, supervision strategies, and BEAM VM integration.
Learn how OTP supervision trees automatically restart crashed Erlang processes, using a chat‑server example to show design, a worked test, trade‑offs, and next steps.
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.