Consensus-based replication is crucial for building resilient and strongly consistent distributed systems. Paxos, first proposed in 1990, is a leader-based consensus protocol that allows participants to agree on values by giving up on other stalled participants after some amount of time. Despite its widespread use, Paxos remains challenging to implement due to its complexity. Raft, introduced in 2013, is a leaderless consensus protocol designed as an alternative to Paxos, offering better understandability and formal proof of safety. With over 100 open-source implementations, Raft has become the de-facto standard for achieving consistency in modern distributed systems, with many popular databases such as YugabyteDB, CockroachDB, and TiDB adopting it for leader election and data replication.