Implementing the Raft Consensus Algorithm Jiayu Liu Carnegie Mellon University ABSTRACT Recently there has been a new consensus algorithm named “Raft” for distributed systems, which was proposed by the authors as an algorithm that’s easier than Paxos to understand and implement. In this report I try to implement the “Raft” algorithm using modern, high level programming language (Java) and tools, in order to evaluate the claim as well as gain deeper understanding of the common challenges and pitfalls in implementing a distributed consensus algorithm.