<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
    <channel>
      <title>DISTRIBUTED CONSENSUS</title>
      <link>https://lectures.pojenwang.dev/distributed-consensus</link>
      <description>Last 10 notes on DISTRIBUTED CONSENSUS</description>
      <generator>Quartz</generator>
      <item>
    <title>Appendix A: Under the Hood: RPC, TCP and UDP</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/appendix/a-messaging-substrate</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/appendix/a-messaging-substrate</guid>
    <description><![CDATA[ How the broadcast and consensus protocols of these notes run over a real network: RPC and its three failure cases, link models versus UDP, TCP and TLS, retransmission and deduplication, the Two Generals impossibility, and why Raft's and Paxos's messages are safe to lose, repeat and delay. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Appendix B: The Production Toolchain</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/appendix/b-production-toolchain</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/appendix/b-production-toolchain</guid>
    <description><![CDATA[ The packages and services that real distributed systems are built from (gRPC, etcd/raft, etcd, ZooKeeper, Kafka, Cassandra, SWIM, write-ahead logs, Jepsen, TLA+), each tied to the theory it implements, with proofs that ReadIndex reads are linearizable, that leases are safe under bounded clock drift, and that fencing tokens stop stale writes. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 1: Broadcast and Delivery Order</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/01-broadcast-ordering</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/01-broadcast-ordering</guid>
    <description><![CDATA[ Problems on the broadcast models: definitions, classifying executions, hold-back at a receiver, and two proofs about total order. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 2: Broadcast Algorithms</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/02-broadcast-algorithms</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/02-broadcast-algorithms</guid>
    <description><![CDATA[ Problems on the broadcast algorithms: message counts and gossip rounds, tracing the FIFO and causal algorithms, a buggy causal variant, and why Lamport total order is causal. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 3: Replication, Idempotence and Quorums</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/03-replication-quorums</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/03-replication-quorums</guid>
    <description><![CDATA[ Problems on idempotence, tombstones and anti-entropy, quorum intersection, read repair and linearizability. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 4: State Machine Replication and Consensus</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/04-smr-consensus</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/04-smr-consensus</guid>
    <description><![CDATA[ Problems on deterministic replicas, commuting updates, the consensus to total order broadcast reductions, FLP and the majority bound. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 5: Leader Election and Terms</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/05-leader-election</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/05-leader-election</guid>
    <description><![CDATA[ Problems on majorities, term and voting rules, stale leaders, and the proof of Election Safety for general quorum systems. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 6: Raft I: Elections and Log Replication</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/06-raft-election-replication</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/06-raft-election-replication</guid>
    <description><![CDATA[ Problems on Raft's persistent state, the up-to-date vote check, the AppendEntries receiver, the nextIndex walk-back, and randomized election timeouts. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 7: Raft II: Safety Proofs and the Figure 8 Trap</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/07-raft-safety</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/07-raft-safety</guid>
    <description><![CDATA[ Problems on the up-to-date test, the current-term commit rule, three-server traces in the style of Figure 8, and checking log states against the five Raft safety properties. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item><item>
    <title>Homework 8: Single-Decree Paxos</title>
    <link>https://lectures.pojenwang.dev/distributed-consensus/homework/08-single-decree-paxos</link>
    <guid>https://lectures.pojenwang.dev/distributed-consensus/homework/08-single-decree-paxos</guid>
    <description><![CDATA[ Acceptor state machines, the adoption rule, which values can be chosen, and a proof that Paxos only needs Phase-1 and Phase-2 quorums to intersect. ]]></description>
    <pubDate>Tue, 01 Dec 2026 03:55:36 GMT</pubDate>
  </item>
    </channel>
  </rss>