Overview of Paxos and Raft consensus algorithms
When basic replication strategies fail to provide strong consistency, consensus algorithms like Paxos and Raft are used:
- Paxos: A family of protocols used to reach agreement on a single result among a group of unreliable processors. It can be viewed as a rigorous evolution of quorum read/write, using two phases of majority-based communication to achieve strong consistency.
- Raft: Designed as a more understandable and implementable alternative to Paxos. Its core architecture consists of three components: Leader Election, Log Replication, and an Application State Machine.