首页 | 本学科首页   官方微博 | 高级检索  
     


Incorporating the Raft consensus protocol in containers managed by Kubernetes: an evaluation
Authors:Hylson Netto  Caio Pereira Oliveira  Luciana de Oliveira Rech  Eduardo Alchieri
Affiliation:1. Catarinense Federal Institute, Campus Blumenau, Brazil hylson.vescovi@ifc.edu.brORCID Iconhttps://orcid.org/0000-0002-1929-7743;3. Department of Informatics and Statistics, Federal University of Santa Catarina, Brazil;4. Department of Computer Science, University of Brasília, Brazil ORCID Iconhttps://orcid.org/0000-0002-6022-3631
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:Distributed agreement  state machine replication  virtualisation  containers
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号