Intuition
Consensus gives a cluster a shared answer even when machines crash or messages are delayed.
Technical definition
Consensus protocols ensure agreement, validity, and termination properties under a defined failure model.
Example
A replicated log uses consensus so all nodes apply database writes in the same order.
Common misunderstandings
- Consensus is expensive compared with local decisions.
- The guarantees depend on the failure model.