Raft Algorithm

Yesterday I looked at the Raft consensus algorithm for distributed systems. It's an algorithm to enable a group of servers/nodes to reach an agreement on a value. It's meant to replace a previous consensus algorithm called Paxos which was perceived to be complicated and difficult to understand. Raft on the other hand is easier to understand. It consists of two phases:

  1. Leader Election
  2. Log Replication

For a visual explanation of Raft, see this.

Raft stands for Replicable, Reliable, Redundant and Fault-Tolerant.