Incorporating the Raft consensus protocol in containers managed by Kubernetes: an evaluation
- 26 April 2019
- journal article
- research article
- Published by Taylor & Francis in International Journal of Parallel, Emergent and Distributed Systems
- Vol. 35 (4) , 433-453
Abstract
Replication is a technique widely used to improve the reliability of applications. State machine replication is a special approach, where a set of computers are kept synchronised in the same state despite of failures that could occur in the system. The Raft algorithm can be used to implement a total order delivery protocol, delivering requests at the same order at all replicas, which is fundamental since in this approach all replicas must execute the same sequence of requests to present the same evolution in their states. Raft is easy to understand and implement, when compared to the Paxos algorithm. On the other hand, virtualisation can be seen as a technique that helps the development of reliable applications since it maintains each virtual machine (VM) isolated from the others. Virtualisation in data centres is changing from the traditional VMs to containers. In this context, this paper proposes KRaft, an incorporation of Raft in Kubernetes, a system that manages containers. After an evaluation of performance and resource consumption of KRaft, we found that it presents performance close to Raft executing on physical machines. Moreover, KRaft demands more network transmission while Raft executed in physical machines needs more processing power and memory.Keywords
Funding Information
- RNP/CTIC/MCTIC
- Abys project CNPq (401364/2014-3)
This publication has 44 references indexed in Scilit:
- Raft RefloatedACM SIGOPS Operating Systems Review, 2015
- Containers and Cloud: From LXC to Docker to KubernetesIEEE Cloud Computing, 2014
- Low Latency Fault Tolerance SystemThe Computer Journal, 2012
- A Performance Analysis of EC2 Cloud Computing Services for Scientific Computing2010
- “Out-of-the-Box” Monitoring of VM-Based High-Interaction Honeypots2007
- Experiences, strategies, and challenges in building fault-tolerant CORBA systemsIEEE Transactions on Computers, 2004
- The part-time parliamentACM Transactions on Computer Systems, 1998
- Implementing fault-tolerant services using the state machine approach: a tutorialACM Computing Surveys, 1990
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990
- Consensus in the presence of partial synchronyJournal of the ACM, 1988