PrepCity

Paxos and Raft

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 10 pages · about 6 min

Paxos and Raft

Basic Paxos chooses one value with prepare/promise and accept/accepted; Raft elects a leader per term and commits an ordered log once a majority stores each entry.

Words you’ll learn

  • Client
  • Commit
  • Heartbeat
  • Trace

Page by page