System, System Design Interview, Consensus Algorithm, Paxos, Raft.
replicating data across servers, or electing a leader in a cluster. Hence, consensus helps achieve agreement among the nodes and ensures that they all converge on the same value or decision. There are two prominent consensus algorithms with widespread recognition in distributed systems: 1. Paxos 2.