Leader Election for Replicated Services Using Application Scores
نویسندگان
چکیده
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 widearea 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.
منابع مشابه
Leader Election Using NewSQL Database Systems
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 distr...
متن کاملA Highly Available Local Leader Election Service
We define the highly available local leader election problem, a generalization of the leader election problem for partitionable systems. We propose a protocol that solves the problem efficiently and give some performance measurements of our implementation. The local leader election service has been proven useful in the design and implementation of several fail-aware services for partitionable s...
متن کاملFetzer and Cristian : a Highly Available Local Leader
| We deene the highly available local leader election problem, a generalization of the leader election problem for partitionable systems. We propose a protocol that solves the problem eeciently and give some performance measurements of our implementation. The local leader election service has been proven useful in the design and implementation of several fail-aware services for partitionable sy...
متن کاملReSQLite: Replicating SQLite using Ra
We present a simple implementation of a replicated SQLite database system. While SQLite is not optimized for high-concurrency workloads or large data needs, its simplicity still makes it an aractive choice for simple applications and we envision certain use-cases are out-of-scope for SQLite today given its lack of support for replication out of the box. ReSQLite is a simple implementation of a...
متن کاملA Leader Election Protocol for Fault Recovery in Asynchronous Fully-Connected Networks
We introduce a new algorithm for consistent failure detection in asynchronous systems. Informally, consistent failure detection requires processes in a distributed system to distinguish between two diierent populations: a fault free population and a faulty one. The major contribution of this paper is in combining ideas from group membership and leader election, in order to have an election prot...
متن کامل