Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3409964.3461794acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
research-article

Four Shades of Deterministic Leader Election in Anonymous Networks

Published: 06 July 2021 Publication History

Abstract

Leader election is one of the fundamental problems in distributed computing: a single node, called the leader, must be specified. This task can be formulated either in a weak way, where one node outputs 'leader' and all other nodes output 'non-leader', or in a strong way, where all nodes must also learn which node is the leader. If the nodes have distinct identifiers, then such an agreement means that all nodes have to output the identifier of the elected leader. For anonymous networks, the strong version of leader election requires that all nodes must be able to find a path to the leader, as this is the only way to identify it. In this paper, we study variants of deterministic leader election in arbitrary anonymous networks. Leader election is impossible in some anonymous networks, regardless of the allocated amount of time, even if nodes know the entire map of the network. This is due to possible symmetries in the network. However, even in networks in which it is possible to elect a leader knowing the map, the task may be still impossible without any initial knowledge, regardless of the allocated time. On the other hand, for any network in which leader election (weak or strong) is possible knowing the map, there is a minimum time, called the 'election index', in which this can be done. We consider four formulations of leader election discussed in the literature in the context of anonymous networks : one is the weak formulation, and the three others specify three different ways of finding the path to the leader in the strong formulation. Our aim is to compare the amount of initial information needed to accomplish each of these "four shades" of leader election in minimum time. Following the framework of algorithms with advice, this information (a single binary string) is provided to all nodes at the start by an oracle knowing the entire network. The length of this string is called the size of advice. We show that the size of advice required to accomplish leader election in the weak formulation in minimum time is exponentially smaller than that needed for any of the strong formulations. Thus, if the required amount of advice is used as a measure of the difficulty of the task, the weakest version of leader election in minimum time is drastically easier than any version of the strong formulation in minimum time.

References

[1]
S. Abiteboul, H. Kaplan, T. Milo, Compact labeling schemes for ancestor queries, Proc. 12th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2001), 547--556.
[2]
D. Angluin, Local and global properties in networks of processors. Proc. 12th Annual ACM Symposium on Theory of Computing (STOC 1980), 82--93.
[3]
H. Attiya and M. Snir, Better computing on the anonymous Ring, Journal of Algorithms 12, (1991), 204--238.
[4]
H. Attiya, M. Snir, and M. Warmuth, Computing on an anonymous ring, Journal of the ACM 35, (1988), 845--875.
[5]
P. Boldi, S. Shammah, S. Vigna, B. Codenotti, P. Gemmell, and J. Simon, Symmetry breaking in anonymous networks: Characterizations. Proc. 4th Israel Symposium on Theory of Computing and Systems, (ISTCS 1996), 16--26.
[6]
P. Boldi and S. Vigna, Computing anonymously with arbitrary knowledge, Proc. 18th ACM Symp. on Principles of Distributed Computing (PODC 1999), 181--188.
[7]
J.E. Burns, A formal model for message passing systems, Tech. Report TR-91, Computer Science Department, Indiana University, Bloomington, September 1980.
[8]
D. Dereniowski, A. Pelc, Drawing maps with advice, Journal of Parallel and Distributed Computing 72 (2012), 132--143.
[9]
D. Dereniowski, A. Pelc, Leader election for anonymous asynchronous agents in arbitrary networks, Distributed Computing 27 (2014), 21--38.
[10]
Y. Dieudonné, A. Pelc, Impact of knowledge on election time in anonymous networks, Algorithmica 81 (2019), 238--288.
[11]
S. Dobrev and A. Pelc, Leader election in rings with nonunique labels, Fundamenta Informaticae 59 (2004), 333--347.
[12]
Y. Emek, P. Fraigniaud, A. Korman, A. Rosen, Online computation with advice, Theoretical Computer Science 412 (2011), 2642--2656.
[13]
P. Flocchini, E. Kranakis, D. Krizanc, F.L. Luccio and N. Santoro, Sorting and election in anonymous asynchronous rings, Journal of Parallel and Distributed Computing 64 (2004), 254--265.
[14]
P. Fraigniaud, C. Gavoille, D. Ilcinkas, A. Pelc, Distributed computing with advice: Information sensitivity of graph coloring, Distributed Computing 21 (2009), 395--403.
[15]
P. Fraigniaud, D. Ilcinkas, A. Pelc, Communication algorithms with advice, Journal of Computer and System Sciences 76 (2010), 222--232.
[16]
P. Fraigniaud, D. Ilcinkas, A. Pelc, Tree exploration with advice, Information and Computation 206 (2008), 1276--1287.
[17]
P. Fraigniaud, A. Korman, E. Lebhar, Local MST computation with short advice, Theory of Computing Systems 47 (2010), 920--933.
[18]
G.N. Fredrickson and N.A. Lynch, Electing a leader in a synchronous ring, Journal of the ACM 34 (1987), 98--115.
[19]
E. Fusco, A. Pelc, Knowledge, level of symmetry, and time of leader election, Distributed Computing 28 (2015), 221--232.
[20]
E. Fusco, A. Pelc, Trade-offs between the size of advice and broadcasting time in trees, Algorithmica 60 (2011), 719--734.
[21]
E. Fusco, A. Pelc, R. Petreschi, Topology recognition with advice, Information and Computation 247 (2016), 254--265.
[22]
C. Gavoille, D. Peleg, S. Pérennes, R. Raz. Distance labeling in graphs, Journal of Algorithms 53 (2004), 85--112.
[23]
C. Glacet, A. Miller, A. Pelc, Time vs. information tradeoffs for leader election in anonymous trees, ACM Transactions on Algorithms 13 (2017), 31:1--31:41.
[24]
M.A. Haddar, A.H. Kacem, Y. Métivier, M. Mosbah, and M. Jmaiel, Electing a leader in the local computation model using mobile agents. Proc. 6th ACS/IEEE International Conference on Computer Systems and Applications (AICCSA 2008), 473--480.
[25]
D.S. Hirschberg, and J.B. Sinclair, Decentralized extrema-finding in circular configurations of processes, Communications of the ACM 23 (1980), 627--628.
[26]
D. Ilcinkas, D. Kowalski, A. Pelc, Fast radio broadcasting with advice, Theoretical Computer Science, 411 (2012), 1544--1557.
[27]
T. Jurdzinski, M. Kutylowski, and J. Zatopianski, Efficient algorithms for leader election in radio networks. Proc., 21st ACM Symp. on Principles of Distributed Computing (PODC 2002), 51--57.
[28]
M. Katz, N. Katz, A. Korman, D. Peleg, Labeling schemes for flow and connectivity, SIAM Journal of Computing 34 (2004), 23--40.
[29]
A. Korman, S. Kutten, D. Peleg, Proof labeling schemes, Distributed Computing 22 (2010), 215--233.
[30]
D. Kowalski, and A. Pelc, Leader election in ad hoc radio networks: A keen ear helps, Journal of Computer and System Sciences 79 (2013), 1164--1180.
[31]
G. Le Lann, Distributed systems - Towards a formal approach, Proc. IFIP Congress, 1977, 155--160, North Holland.
[32]
N.L. Lynch, Distributed Algorithms, Morgan Kaufmann Publ. Inc., San Francisco, USA, 1996.
[33]
A. Miller, A. Pelc, Election vs. selection: How much advice is needed to find the largest node in a graph?, Proc. 28th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA 2016), 377--386.
[34]
K. Nakano and S. Olariu, Uniform leader election protocols for radio networks, IEEE Transactions on Parallel and Distributed Systems 13 (2002), 516--526.
[35]
N. Nisse, D. Soguet, Graph searching with advice, Theoretical Computer Science 410 (2009), 1307--1318.
[36]
Peleg, Distributed Computing, A Locality-Sensitive Approach, SIAM Monographs on Discrete Mathematics and Applications, Philadelphia 2000.
[37]
G.L. Peterson, An O(n łog n) unidirectional distributed algorithm for the circular extrema problem, ACM Transactions on Programming Languages and Systems 4 (1982), 758--762.
[38]
M. Thorup, U. Zwick, Approximate distance oracles, Journal of the ACM, 52 (2005), 1--24.
[39]
D.E. Willard, Log-logarithmic selection resolution protocols in a multiple access channel, SIAM J. on Computing 15 (1986), 468--477.
[40]
M. Yamashita and T. Kameda, Electing a leader when procesor identity numbers are not distinct, Proc. 3rd Workshop on Distributed Algorithms (WDAG 1989), LNCS 392, 303--314.
[41]
M. Yamashita and T. Kameda, Computing on anonymous networks: Part I - Characterizing the solvable cases, IEEE Trans. Parallel and Distributed Systems 7 (1996), 69--89.

Cited By

View all
  • (2022)Self-stabilising Priority-Based Multi-Leader Election and Network Partitioning2022 IEEE International Conference on Autonomic Computing and Self-Organizing Systems (ACSOS)10.1109/ACSOS55765.2022.00026(81-90)Online publication date: Sep-2022

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SPAA '21: Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures
July 2021
463 pages
ISBN:9781450380706
DOI:10.1145/3409964
  • General Chair:
  • Kunal Agrawal,
  • Program Chair:
  • Yossi Azar
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 ACM 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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 06 July 2021

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. advice
  2. anonymous network
  3. deterministic distributed algorithm
  4. leader election

Qualifiers

  • Research-article

Funding Sources

Conference

SPAA '21
Sponsor:

Acceptance Rates

Overall Acceptance Rate 447 of 1,461 submissions, 31%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Self-stabilising Priority-Based Multi-Leader Election and Network Partitioning2022 IEEE International Conference on Autonomic Computing and Self-Organizing Systems (ACSOS)10.1109/ACSOS55765.2022.00026(81-90)Online publication date: Sep-2022

View Options

Login options

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