View on GitHub

samrat.github.io

Understanding Raft

Split brain problem

Working

Working

Working

Raft

There are many known concensus algorithm that aims in solving this problem, like Paxos etc. Raft aims in simplifying the alogrithm so that it can easy to understand and implement

Consensus algorithm aims in manaing the state (log repication across all the nodes)

Keeping the replicated log consistent is the job of the consensus algorithm. It should be able to operate if majority of the nodes are running

Three main features:



states

term