Skip to main content

Two-Phase Consensus

Definition

Two-phase consensus describes a method for achieving agreement among distributed nodes in a network, typically involving two distinct stages of communication and validation. This approach ensures that all participating nodes confirm a transaction or state change before it is finalized. The first phase often involves proposal and voting, while the second phase commits the agreed-upon action. It aims to guarantee data consistency and fault tolerance.