Supervision Without Blocking: An Evidence-Driven Redesign of OTP-Style Fault Tolerance for Cooperative Runtimes
Abstract
Actor frameworks on mainstream runtimes advertise Erlang/OTP-style supervision, but OTP's consistency contracts assume a synchronous, single-threaded supervisor, and ports inherit that assumption's absence as unexamined risk. We evaluated every supervision guarantee against pinned OTP documentation and source read verbatim, against the source of three further Rust actor frameworks at fixed revisions, and against the actor-model literature, recording the evidence behind each design decision. Blind adversarial audits and the cross-framework study surfaced 24 defect classes, of which eight reduce to one root cause: reconstructing, by explicit mechanism, the atomicity a synchronous supervisor gets implicitly. We introduce a supervision runtime that closes all 24 cataloged classes through supervisor-owned completion values, per-incarnation identity, and a single lifecycle state machine, validated by 241 tests including reverted-fix reproductions. The result holds OTP's verbatim-verified contracts while adding two properties OTP does not offer: a supervisor that remains responsive throughout group restarts, and message handlers that are never cancelled mid-execution. We delimit the forcing guarantees no cooperative runtime can honor.
Create a lesson
Related papers
Sound Distributed Runtime Verification under Incomplete Evidence
Shared title terminologycs.DCNikolaos Kekatos, Antonio Anastasio Bruto da Costa, Alexios Lekidis et al.
FaaSpot: Fault-Tolerant Serverless Workflow Execution on Spot Instances
Shared title terminologycs.DCBandhan Patel, Sushruth Harsha, Kwangsung Oh et al.
Fault-Tolerant Offloading Framework for Real-Time Applications in Mobile Edge Computing
Shared title terminologycs.DCChuanchao Gao, Yiyang Gao, Michael Yuhas et al.
API-driven Physical Prototypes
Shared title terminologycs.DCAxel Sauer, Tim Kraus, Ingo Feldner
Exploration of Infinite Triangular and Hexagonal Grids by Synchronous Robots without Chirality
Shared title terminologycs.DCDaniel Babický, Michal Opler
Pacemaker: Keeping Training Fed in Long-Horizon Agentic RL via Progress-Driven Training-Rollout Co-Orchestration
Shared title terminologycs.DCSongyun Qu, Yongzhi Xu, Tao Wu et al.