The Runtime Theory
Distributed SystemsPlanned

How Raft Commits a Log Entry

Video not available yet
#raft#consensus#replication

The lesson animates a three-node cluster. A client sends a command to the leader, the leader appends it to its log, and AppendEntries messages carry it to followers. The timeline highlights the majority condition and shows why commitment depends on Raft's term and log rules rather than any single acknowledgement.

The second half introduces a divergent follower log and shows the leader backing up to repair it. The conclusion separates safety from availability: without a quorum, the cluster cannot commit new entries. Companion material: partial-failure article, Raft trace, and the Raft paper.

Related articles

New lessons by email

Get new articles and notes on the systems behind everyday software.

One technical dispatch per week. No noise.

Not started

Sign in to save your learning progress.

Sign in to save