Improved Tradeoffs for Leader Election

Shay Kutten, Peter Robinson, Ming Ming Tan, Xianbin Zhu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

We consider leader election in clique networks, where n nodes are connected by point-to-point communication links. For the synchronous clique under simultaneous wake-up, i.e., where all nodes start executing the algorithm in round 1, we show a tradeoff between the number of messages and the amount of time. The previous lower bound side of such a tradeoff, in the seminal paper of Afek and Gafni (1991), was shown only assuming adversarial wake-up. Interestingly, our new tradeoff also improves the previous lower bounds for a large part of the spectrum, even under simultaneous wake-up. More specifically, we show that any deterministic algorithm with a message complexity of n f(n) requires ω((log n) / (log f(n)+1)) rounds, for f(n) > 1. Our result holds even if the node IDs are chosen from a relatively small set of size ω(n log n), as we are able to avoid using Ramsey's theorem, in contrast to many existing lower bounds for deterministic algorithms. We also give an upper bound that improves over the previously-best tradeoff achieved by the algorithm of Afek and Gafni. Our second contribution for the synchronous clique under simultaneous wake-up is to show that ω (n log n) is in fact a lower bound on the message complexity that holds for any deterministic algorithm with a termination time T(n) (i.e., any function of n), for a sufficiently large ID space. We complement this result by giving a simple deterministic algorithm that achieves leader election in sublinear time while sending only o(n log n) messages, if the ID space is of at most linear size. We also show that Las Vegas algorithms (that never fail) require ω(n) messages. This exhibits a gap between Las Vegas and Monte Carlo algorithms.For the synchronous clique under adversarial wake-up, we show that ω(n3/2) is a lower bound for 2-round algorithms. Our result is the first superlinear lower bound for randomized leader election algorithms in the clique. We also give a simple algorithm that matches this bound.Finally, we turn our attention to the asynchronous clique: Assuming adversarial wake-up, we give a randomized algorithm that, for any k ĝ [2, O(log n/log log n)], achieves a message complexity of O(n1+1/k) and an asynchronous time complexity of k + 8. Our algorithm achieves the first tradeoff between messages and time in the asynchronous model. For simultaneous wake-up, we translate the deterministic tradeoff algorithm of Afek and Gafni to the asynchronous model, thus partially answering an open problem they pose.

Original languageEnglish (US)
Title of host publicationPODC 2023 - Proceedings of the 2023 ACM Symposium on Principles of Distributed Computing
PublisherAssociation for Computing Machinery
Pages355-365
Number of pages11
ISBN (Electronic)9798400701214
DOIs
StatePublished - Jun 19 2023
Event42nd ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, PODC 2023 - Orlando, United States
Duration: Jun 19 2023Jun 23 2023

Publication series

NameProceedings of the Annual ACM Symposium on Principles of Distributed Computing

Conference

Conference42nd ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, PODC 2023
Country/TerritoryUnited States
CityOrlando
Period6/19/236/23/23

Keywords

  • distributed algorithm
  • leader election
  • lower bound

ASJC Scopus subject areas

  • Software
  • Hardware and Architecture
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Improved Tradeoffs for Leader Election'. Together they form a unique fingerprint.

Cite this