A short introduction about Raft: a distributed consensus algorithm

3 min readApr 13, 2021
Photo by Kees Streefkerk on Unsplash

What is a distributed consensus algorithm?

In a distributed system, there are many nodes in one cluster. We need to have an algorithm to ensure a consensus of data among those nodes or reach an agreement on a proposal. The algorithm is called a distributed consensus algorithm.

What is Raft?