Leader election for replicated services using application scores

Diogo Becker, Flavio Junqueira, Marco Serafini

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

1 Citation (Scopus)

Abstract

Replicated services often rely on a leader to order client requests and broadcast state updates. In this work, we present POLE, a leader election algorithm that select leaders using application-specific scores. This flexibility given to the application enables the algorithm to tailor leader election according to metrics that are relevant in practical settings and that have been overlooked by existing approaches. Recovery time and request latency are examples of such metrics. To evaluate POLE, we use ZooKeeper, an open-source replicated service used for coordinating Web-scale applications. Our evaluation over realistic wide-area settings shows that application scores can have a significant impact on performance, and that just optimizing the latency of consensus does not translate into lower latency for clients. An important conclusion from our results is that obtaining a general strategy that satisfies a wide range of requirements is difficult, which implies that configurability is indispensable for practical leader election.

Original languageEnglish
Title of host publicationMiddleware 2011 - ACM/IFIP/USENIX 12th International Middleware Conference, Proceedings
Pages289-308
Number of pages20
DOIs
Publication statusPublished - 23 Dec 2011
Event12th ACM/IFIP/USENIX International Middleware Conference, Middleware 2011 - Lisbon, Portugal
Duration: 12 Dec 201116 Dec 2011

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume7049 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Other

Other12th ACM/IFIP/USENIX International Middleware Conference, Middleware 2011
CountryPortugal
CityLisbon
Period12/12/1116/12/11

    Fingerprint

Keywords

  • fault tolerance
  • leader election
  • performance
  • replicated services

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

Cite this

Becker, D., Junqueira, F., & Serafini, M. (2011). Leader election for replicated services using application scores. In Middleware 2011 - ACM/IFIP/USENIX 12th International Middleware Conference, Proceedings (pp. 289-308). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 7049 LNCS). https://doi.org/10.1007/978-3-642-25821-3_15