Skip to Main content Skip to Navigation
Conference papers

Leader Election Using NewSQL Database Systems

Abstract : Leader election protocols are a fundamental building block for replicated distributed services. They ease the design of leader-based coordination protocols that tolerate failures. In partially synchronous systems, designing a leader election algorithm, that does not permit multiple leaders while the system is unstable, is a complex task. As a result many production systems use third-party distributed coordination services, such as ZooKeeper and Chubby, to provide a reliable leader election service. However, adding a third-party service such as ZooKeeper to a distributed system incurs additional operational costs and complexity. ZooKeeper instances must be kept running on at least three machines to ensure its high availability. In this paper, we present a novel leader election protocol using NewSQL databases for partially synchronous systems, that ensures at most one leader at any given time. The leader election protocol uses the database as distributed shared memory. Our work enables distributed systems that already use NewSQL databases to save the operational overhead of managing an additional third-party service for leader election. Our main contribution is the design, implementation and validation of a practical leader election algorithm, based on NewSQL databases, that has performance comparable to a leader election implementation using a state-of-the-art distributed coordination service, ZooKeeper.
Complete list of metadatas

Cited literature [20 references]  Display  Hide  Download

https://hal.inria.fr/hal-01775025
Contributor : Hal Ifip <>
Submitted on : Tuesday, April 24, 2018 - 11:53:09 AM
Last modification on : Thursday, August 30, 2018 - 11:08:02 AM
Long-term archiving on: : Wednesday, September 19, 2018 - 12:34:15 PM

File

978-3-319-19129-4_13_Chapter.p...
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Mahmoud Ismail, Gautier Berthou, Jim Dowling, Salman Niazi. Leader Election Using NewSQL Database Systems. 15th IFIP International Conference on Distributed Applications and Interoperable Systems (DAIS), Jun 2015, Grenoble, France. pp.158-172, ⟨10.1007/978-3-319-19129-4_13⟩. ⟨hal-01775025⟩

Share

Metrics

Record views

361

Files downloads

294