Abstract.
The paper dispels the myth that it is impossible for a message-passing program to be both terminating and stabilizing. We consider a rather general notion of termination: a terminating program eventually stops its execution after the environment ceases to provide input. We identify termination-symmetry to be a necessary condition for a problem to admit a solution with such properties. Our results do confirm that a number of well-known problems (e.g., consensus, leader election) do not allow a terminating and stabilizing solution. On the flip side, they show that other problems such as mutual exclusion and reliable-transmission allow such solutions. We present a message-passing solution to the mutual exclusion problem that is both stabilizing and terminating. We also describe an approach of adding termination to a stabilizing program. To illustrate this approach, we add termination to a stabilizing solution for the reliable transmission problem.
Similar content being viewed by others
References
Afek Y, Brown GM: Self-stabilization over unreliable communication media. Distributed Computing 7, 27-34 (1993)
Arora A, Gouda MG: Distributed reset. IEEE Transactions on Computers 43, 1026-1038 (1994)
Awerbuch B, Patt-Shamir B, Varghese G: Bounding the unbounded (distributed computing protocols). In: Proceedings IEEE INFOCOM 94 The Conference on Computer Communications, 1994, pp. 776-783
Bui A, Datta AK, Petit F, Villain V: State-optimal snap-stabilizing PIF in tree networks. In: Proceedings of the Fourth Workshop on Self-Stabilizing Systems (published in association with ICDCS99 The 19th IEEE International Conference on Distributed Computing Systems), 1999, pp. 78-85. IEEE Computer Society
Dijkstra EW, Scholten CS: Termination detection for diffusing computations. Information Processing Letters 11(1). 1-4 (1980)
Dolev S: Self-Stabilization. MIT Press, 2000
Dolev S, Gouda MG, Schneider M: Memory requirements for silent stabilization. In: PODC96 Proceedings of the Fifteenth Annual ACM Symposium on Principles of Distributed Computing, 1996, pp. 27-34
Gouda MG, Multari N: Stabilizing communication protocols. IEEE Transactions on Computers 40, 448-458 (1991)
Howell RR, Nesterenko M, Mizuno M: Finite-state self-stabilizing protocols in message passing systems. Journal of Parallel and Distributed Computing 62(5), 792-817 (2002)
Jayaram M, Varghese G: The complexity of crash failures. In: Proceedings of the Sixteenth Annual ACM Symposium on Principles of Distributed Computing, pp. 179-188, Santa Barbara, California, 21-24 August 1997
Lamport L: Time, clocks and ordering of events in distributed systems. Communications of the ACM 21(7), 558-564 (1978)
Mizuno M, Nesterenko M: A transformation of self-stabilizing serial model programs for asynchronous parallel computing environments. Information Processing Letters 66(6), 285-290 (1998)
Nesterenko M, Arora A: Stabilization-preserving atomicity refinement. In: Proceedings of the 13th International Symposium on Distributed Computing, 1999, pp. 254-268
Ricart G, Agrawala AK: An optimal algorithm for mutual exclusion in computer networks. Communications of the ACM 24(1), 9-17 (1981)
Schneider FB: On Concurrent Programming. Springer, 1997
Author information
Authors and Affiliations
Corresponding author
Additional information
Published online: 15 November 2004
Anish Arora: Supported in part by DARPA contract OSU-RF #F33615-01-C-1901,NSF grant NSF-CCR-9972368, Ohio State University Fellowship,and 2002-2003,2003-2004 grants from Microsoft Research.
Mikhail Nesterenko: Supported in part by DARPA contract OSU-RF #F33615-01-C-1901 and byNSF CAREER Award 0347485
Some of the results in this paper were presented at the 21st International Conference on Distributed Computing Systems, Mesa, Arizona, April 2001, pp 99-106.
Correspondence to: Mikhail Nesterenko
Rights and permissions
About this article
Cite this article
Arora, A., Nesterenko, M. Unifying stabilization and termination in message-passing systems. Distrib. Comput. 17, 279–290 (2005). https://doi.org/10.1007/s00446-004-0111-6
Issue Date:
DOI: https://doi.org/10.1007/s00446-004-0111-6