How replicas agree on one ordered history

Trace replicated-state-machine vocabulary and a qualified Raft-style log without confusing consensus with 2PC. Distributed data and replication · Databases.

Three replicas have different local memories. Before any client sees a committed answer, what evidence makes them replay the same command in the same order?

What you will learn

  • Build a replicated-state-machine mental model
  • Trace a qualified Raft-style leader, quorum and commit index
  • Separate consensus from partition availability and atomic commit

Lesson outline

  1. Copying data is not agreeing on history
  2. A quorum commits a log prefix
  3. The boundary stops at one replicated group

21 minutes · 2 scenes · 0 predict checks · 10 quiz questions

The full lesson is available with Premium.