Designing a Minimal OTP Supervision Tree for Fault‑Tolerant Erlang Services
Learn how to build a minimal OTP supervision tree in Erlang: requirements, design, trust boundaries, operational checks, failure modes, and when to redesign.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to build a minimal OTP supervision tree in Erlang: requirements, design, trust boundaries, operational checks, failure modes, and when to redesign.
How OTP supervisors restart failed workers: one_for_one vs one_for_all vs rest_for_one, a worked supervisor module with map child specs, intensity/period escalation, and the state-loss and crash-loop mistakes to avoid.
Detaspace partitions isolate data, enforce trust domains, and provide failure recovery. This guide outlines requirements, minimal design, boundary rules, operational checks, and failure modes to help architects decide when to adopt detaspace.
Supervision strategy is a claim about which Erlang processes depend on which. Pick it from the dependency graph, then confirm it with a deliberate kill on a test node.
Erlang’s lightweight processes enable millions of concurrent tasks with minimal memory. Learn how to build a fault‑tolerant counter server, watch it recover from crashes, and understand key trade‑offs like mailbox size, data copying, and supervision loops.
Learn how Redis Streams and consumer groups can turn a simple key‑value store into a scalable, fault‑tolerant ingestion pipeline for real‑time analytics. See a concrete example, key trade‑offs, and actionable steps to get started.
Learn how to use Vert.x’s Circuit Breaker to protect async services, configure timeouts, fallbacks, and monitor state via the event bus. Includes a concrete example and clustering caveats.
Deploy VMware vSphere HA with vMotion and Fault Tolerance for zero downtime on critical workloads. This architecture guide covers minimal design, trust boundaries, operational checks, and scaling considerations.
Learn how to implement Akka Actor Supervision to decouple error handling from business logic, preventing cascading failures in distributed JVM systems.