Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

On the Complexity of Universal Leader Election

Published: 02 March 2015 Publication History

Abstract

Electing a leader is a fundamental task in distributed computing. In its implicit version, only the leader must know who is the elected leader. This article focuses on studying the message and time complexity of randomized implicit leader election in synchronous distributed networks. Surprisingly, the most “obvious” complexity bounds have not been proven for randomized algorithms. In particular, the seemingly obvious lower bounds of Ω(m) messages, where m is the number of edges in the network, and Ω(D) time, where D is the network diameter, are nontrivial to show for randomized (Monte Carlo) algorithms. (Recent results, showing that even Ω(n), where n is the number of nodes in the network, is not a lower bound on the messages in complete networks, make the above bounds somewhat less obvious). To the best of our knowledge, these basic lower bounds have not been established even for deterministic algorithms, except for the restricted case of comparison algorithms, where it was also required that nodes may not wake up spontaneously and that D and n were not known. We establish these fundamental lower bounds in this article for the general case, even for randomized Monte Carlo algorithms. Our lower bounds are universal in the sense that they hold for all universal algorithms (namely, algorithms that work for all graphs), apply to every D, m, and n, and hold even if D, m, and n are known, all the nodes wake up simultaneously, and the algorithms can make any use of node's identities. To show that these bounds are tight, we present an O(m) messages algorithm. An O(D) time leader election algorithm is known. A slight adaptation of our lower bound technique gives rise to an Ω(m) message lower bound for randomized broadcast algorithms.
An interesting fundamental problem is whether both upper bounds (messages and time) can be reached simultaneously in the randomized setting for all graphs. The answer is known to be negative in the deterministic setting. We answer this problem partially by presenting a randomized algorithm that matches both complexities in some cases. This already separates (for some cases) randomized algorithms from deterministic ones. As first steps towards the general case, we present several universal leader election algorithms with bounds that tradeoff messages versus time. We view our results as a step towards understanding the complexity of universal leader election in distributed networks.

References

[1]
Hosame Abu-Amara and Arkady Kanevsky. 1993. On the complexities of leader election algorithms. In Proceedings of the 5th International Conference on Computing and Information (ICCI). 202--206.
[2]
Yehuda Afek and Eli Gafni. 1991. Time and message bounds for election in synchronous and asynchronous complete networks. SIAM J. Comput. 20, 2, 376--394.
[3]
Hagit Attiya and Jennifer Welch. 2004. Distributed Computing: Fundamentals, Simulations and Advanced Topics (2nd Ed.). John Wiley Interscience.
[4]
Baruch Awerbuch. 1987. Optimal distributed algorithms for minimum weight spanning tree, counting, leader election, and related problems. In Proceedings of the 19th Annual ACM Symposium on Theory of Computing (STOC'87). ACM, New York, 230--240.
[5]
Baruch Awerbuch, Oded Goldreich, Ronen Vainish, and David Peleg. 1990. A trade-off between information and communication in broadcast protocols. J. ACM 37, 2, 238--256.
[6]
Surender Baswana and Sandeep Sen. 2007. A simple and linear time randomized algorithm for computing sparse spanners in weighted graphs. Random Struct. Algor. 30, 4, 532--563.
[7]
Edith Cohen. 1997. Size-estimation framework with applications to transitive closure and reachability. J. Comput. Syst. Sci. 55, 3, 441--453.
[8]
Greg N. Frederickson and Nancy A. Lynch. 1987. Electing a leader in a synchronous ring. J. ACM 34, 1, 98--115.
[9]
Emanuele G. Fusco and Andrzej Pelc. 2012. Knowledge, level of symmetry, and time of leader election. In Proceedings of ESA. 479--490.
[10]
Saurabh Ganeriwal, Ram Kumar, and Mani B. Srivastava. 2003. Timing-sync protocol for sensor networks. In Proceedings of the 1st International Conference on Embedded Networked Sensor Systems (SenSys'03). ACM, New York, 138--149.
[11]
Maleq Khan, Fabian Kuhn, Dahlia Malkhi, Gopal Pandurangan, and Kunal Talwar. 2012. Efficient distributed approximation algorithms via probabilistic tree embeddings. Distrib. Comput. 25, 3, 189--205.
[12]
Ephraim Korach, Shay Kutten, and Shlomo Moran. 1990. A modular technique for the design of efficient distributed leader finding algorithms. ACM Trans. Program. Lang. Syst 12, 1, 84--101.
[13]
Ephraim Korach, Shlomo Moran, and Shmuel Zaks. 1989. Optimal lower bounds for some distributed algorithms for a complete network of processors. Theoret. Comput. Sci. 64, 1, 125--132.
[14]
Shay Kutten, Gopal Pandurangan, David Peleg, Peter Robinson, and Amitabh Trehan. 2013. Sublinear bounds for randomized leader election. In Proceedings of ICDCN'13. 348--362.
[15]
Gérard Le Lann. 1977. Distributed systems - Towards a formal approach. In Proceedings of IFIP Congress. 155--160.
[16]
Nancy Lynch. 1996. Distributed Algorithms. Morgan Kaufman Publishers, Inc., San Francisco, CA.
[17]
M. Mitzenmacher and E. Upfal. 2004. Probability and Computing: Randomized Algorithms and Probabilistic Analysis. Cambridge University Press.
[18]
Rajeev Motwani and Prabhakar Raghavan. 1995. Randomized Algorithms. Cambridge University Press.
[19]
Erik Nygren, Ramesh K. Sitaraman, and Jennifer Sun. 2010. The Akamai network: A platform for high-performance internet applications. SIGOPS Oper. Syst. Rev. 44, 3, 2--19.
[20]
David Peleg. 1990. Time-optimal leader election in general networks. J. Parallel and Distrib. Comput. 8, 1, 96--99.
[21]
David Peleg. 2000. Distributed Computing: A Locality-Sensitive Approach. SIAM, Philadelphia, PA.
[22]
Nicola Santoro. 2006. Design and Analysis of Distributed Algorithms. (Wiley Series on Parallel and Distributed Computing). Wiley-Interscience.
[23]
Gerard Tel. 1994. Introduction to Distributed Algorithms. Cambridge University Press, New York.
[24]
Yong Yao and Johannes Gehrke. 2002. The cougar approach to in-network query processing in sensor networks. SIGMOD Rec. 31, 3, 9--18.

Cited By

View all
  • (2024)Awake Complexity of Distributed Minimum Spanning TreeStructural Information and Communication Complexity10.1007/978-3-031-60603-8_3(45-63)Online publication date: 23-May-2024
  • (2024)Towards Singular Optimality in the Presence of Local Initial KnowledgeStructural Information and Communication Complexity10.1007/978-3-031-60603-8_17(300-317)Online publication date: 27-May-2024
  • (2023)Improved Tradeoffs for Leader ElectionProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594576(355-365)Online publication date: 19-Jun-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 62, Issue 1
February 2015
264 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/2742144
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 02 March 2015
Accepted: 01 October 2014
Received: 01 September 2013
Published in JACM Volume 62, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Leader election
  2. distributed algorithm
  3. lower bound

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

  • Singapore Ministry of Education (MOE) Academic Research Fund (AcRF) Tier 2
  • Singapore MOE AcRF Tier 1
  • US-Israel Binational Science Foundation
  • Nanyang Technological University
  • Israel Science Foundation
  • Singapore MoE Academic Research Fund (AcRF) Tier 2
  • Technion TASP center
  • United States-Israel Binational Science Foundation
  • Citi Foundation
  • I-CORE program of the Israel PBC and ISF
  • Israeli Ministry of Science and Technology
  • Israel Ministry of Science and Technology
  • Fault-tolerant Communication Complexity in Wireless Networks from the Singapore MoE AcRF-2

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)37
  • Downloads (Last 6 weeks)4
Reflects downloads up to 04 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Awake Complexity of Distributed Minimum Spanning TreeStructural Information and Communication Complexity10.1007/978-3-031-60603-8_3(45-63)Online publication date: 23-May-2024
  • (2024)Towards Singular Optimality in the Presence of Local Initial KnowledgeStructural Information and Communication Complexity10.1007/978-3-031-60603-8_17(300-317)Online publication date: 27-May-2024
  • (2023)Improved Tradeoffs for Leader ElectionProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594576(355-365)Online publication date: 19-Jun-2023
  • (2023)On the Message Complexity of Fault-Tolerant Computation: Leader Election and AgreementIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2023.3239993(1-12)Online publication date: 2023
  • (2023)Communication costs in a geometric communication networkTheoretical Computer Science10.1016/j.tcs.2023.114161977(114161)Online publication date: Oct-2023
  • (2023)Distributed computation of exact average degree and network size in finite time under quantized communicationEuropean Journal of Control10.1016/j.ejcon.2023.10084874(100848)Online publication date: Nov-2023
  • (2023)The topology of randomized symmetry-breaking distributed computingJournal of Applied and Computational Topology10.1007/s41468-023-00150-98:4(909-940)Online publication date: 13-Nov-2023
  • (2023)Transmitting Once to Elect a Leader on Wireless NetworksAlgorithmica10.1007/s00453-023-01095-285:9(2529-2553)Online publication date: 6-Mar-2023
  • (2023)Termination of amnesiac floodingDistributed Computing10.1007/s00446-023-00448-y36:2(193-207)Online publication date: 1-May-2023
  • (2023)Improved Deterministic Leader Election in Diameter-Two NetworksAlgorithms and Complexity10.1007/978-3-031-30448-4_23(323-335)Online publication date: 25-Apr-2023
  • Show More Cited By

View Options

Get Access

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media