Raft is a consensus algorithm that enables multiple servers to work together as a reliable system despite failures. It uses a leader-follower model where one server coordinates log replication across the cluster. The algorithm ensures consistency through leader election, log replication with majority agreement, and commit

13m read timeFrom news.alvaroduran.com
Post cover image
Table of contents
Replicated State MachinesLog Replication and CommitLeader Append-Only, State Machine Safety and Leader CompletenessScaling outMinimizing LatencyUnderstandable Consensus

Sort: