Plain Paxos runs both its phases for every single decision. If the same node keeps winning the prepare phase every time, why keep asking?
Same 3 acceptors as before, but now deciding 5 log slots in a row. Plain Paxos pays for prepare/promise every time; Multi-Paxos, with a stable leader, only pays once.
Once a leader has run Phase 1 (prepare/promise) successfully and no other proposer has interfered, every acceptor has already promised to accept that leader's numbers. The leader can skip straight to Phase 2 (accept/accepted) for every subsequent decision — right up until something disrupts its leadership.
Counting message-hops per round trip (prepare, promise, accept, accepted = 4 for a full round; accept, accepted = 2 for an accept-only round):
- — the number of log slots (decisions) being made.
- — total messages if every decision re-runs both phases.
- — total messages with one stable leader skipping Phase 1 after the first decision.
- Only the first decision pays full price
Decision 1 still needs a full round (4 messages) to establish the leader's numbers are trusted.
- Every decision after that is cheaper
Decisions 2 through only need the accept/accepted round trip — 2 messages each.
Slide up. The gap between the two bars is the savings — it grows by 2 messages for every extra decision, because Multi-Paxos never repeats the prepare phase as long as the leader stays the same.
decisions, one stable leader throughout:
- Plain Paxos
- Multi-Paxos
- Savings
Slide k (the number of decided log slots) until Multi-Paxos saves exactly 10 messages compared to plain Paxos.
Multi-Paxos is just repeated Paxos with the prepare phase amortized across many decisions instead of paid for every time — as long as the leader stays stable. When the leader changes, whoever takes over has to re-run Phase 1 once before it can go back to skipping it, exactly the way Raft's leader election (next few chapters) re-establishes trust after a crash.