Reducing the Energy Footprint of a Distributed Consensus Algorithm
Authors:
- Jehan-Francois ParisJPJehan-Francois Paris
- Darrell D. E. LongDLDarrell D. E. Long
- 1 September 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 198-204
Abstract
The Raft consensus algorithm is a new distributed consensus algorithm that is both easier to understand and more straightforward to implement than the older Paxos algorithm. Its major limitation is its high energy footprint. As it relies on majority consensus voting for deciding when to commit an update, Raft requires five participants to protect against two simultaneous failures. We propose two methods for reducing this huge energy footprint. Our first proposal consists of adjusting Raft quorums in a way that would allow updates to proceed with as few as two servers while requiring a larger quorum for electing a new leader. Our second proposal consists of replacing one or two of the five Raft servers with witnesses, that is, lightweight servers that maintain the same metadata as other servers but hold no data and can therefore run on very low-power hosts. We show that these substitutions have little impact on the cluster availability but very different impacts on the risks of incurring a data loss.Keywords
This publication has 11 references indexed in Scilit:
- Raft RefloatedACM SIGOPS Operating Systems Review, 2015
- FAWN2009
- Paxos made live2007
- The part-time parliamentACM Transactions on Computer Systems, 1998
- Implementing fault-tolerant services using the state machine approach: a tutorialACM Computing Surveys, 1990
- Regeneration of replicated objects: A technique and its Eden implementation1986
- Consistency and recovery control for replicated files1985
- Fail-stop processorsACM Transactions on Computer Systems, 1983
- The Byzantine Generals ProblemACM Transactions on Programming Languages and Systems, 1982
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978