Scalable Termination Detection for Distributed Actor Systems
Dan Plyukhin, Gul Agha

TL;DR
This paper introduces DRL, a low-overhead, decentralized termination detection algorithm for distributed actor systems that ensures safe and eventual garbage collection without costly coordination.
Contribution
It presents a novel asynchronous, decentralized termination detection technique (DRL) for actor systems, improving efficiency and scalability over previous methods.
Findings
DRL guarantees that all terminated actors are eventually detected.
DRL ensures that only truly terminated actors are identified as garbage.
The method tolerates transient network partitions and requires no causal message delivery.
Abstract
Automatic garbage collection (GC) prevents certain kinds of bugs and reduces programming overhead. GC techniques for sequential programs are based on reachability analysis. However, testing reachability from a root set is inadequate for determining whether an actor is garbage because an unreachable actor may send a message to a reachable actor. Instead, it is sufficient to check termination (sometimes also called quiescence): an actor is terminated if it is not currently processing a message and cannot receive a message in the future. Moreover, many actor frameworks provide all actors with access to file I/O or external storage; without inspecting an actor's internal code, it is necessary to check that the actor has terminated to ensure that it may be garbage collected in these frameworks. Previous algorithms to detect actor garbage require coordination mechanisms such as causal message…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Software System Performance and Reliability · Parallel Computing and Optimization Techniques
