Grok-Pedia

Paxos

Paxos

Paxos is a family of protocols for solving consensus in a network of unreliable processors. Consensus is a fundamental problem in distributed computing, where an agreement must be reached by some or all of the processes (e.g., computers, nodes) in the system. Here's a detailed overview:

History

The Paxos algorithm was developed by Leslie Lamport in the early 1990s. It was inspired by an imagined ancient Greek legislative process on the island of Paxos, hence the name. Lamport's initial paper on the subject, "The Part-Time Parliament," was published in 1998, although the protocol itself was conceptualized earlier.

Key Concepts

Protocol Outline

  1. Prepare: A proposer chooses a proposal number and sends a prepare request with this number to a majority of acceptors.
  2. Promise: An acceptor responds with a promise not to accept any proposals numbered less than the one proposed and informs the proposer of the highest-numbered proposal it has accepted so far.
  3. Accept: If the proposer receives a majority of promises, it sends an accept request with the value (which might be the value from the highest proposal number if one was previously accepted) to the acceptors.
  4. Accepted: An acceptor accepts the proposal unless it has promised to ignore proposals with lower numbers.
  5. Learning: Once a value has been accepted by a majority, it is learned by the learners, which can then act on the consensus.

Properties

Applications

Paxos has been influential in various distributed systems:

Criticism and Variants

References

Related Topics

Recently Created Pages