Without a Leader, There Is No Consensus

Consensus is what prevents distributed systems from fracturing into multiple, conflicting realities. It ensures not just that replicas hold the same data, but in the same order, under the same history. This requires more than copying data between nodes. It requires coordination. It requires leadership. In consensus protocols like Raft,…

WAL ≠ Replicated Log

In my last blog, we looked at how the Write-Ahead Log (WAL) underpins durability across different replication designs. But it’s equally important to understand why, in the world of consensus, the same idea is called a replicated log instead. A Write-Ahead Log (WAL) remembers what happened locally. A replicated…