Skip to content
StackDecode
System Design
6. Distributed Systems FundamentalsAnimated

Byzantine Fault Tolerance

Agreement even if some nodes lie.

The idea

BFT protocols tolerate up to one third of nodes behaving arbitrarily or maliciously.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Service AService BCoordination se…Service C
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

A small, strongly consistent cluster stores configuration, locks and membership.

step:
1/4
at:
Coordination service (ZooKeeper / etcd)
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Nodes broadcast proposals
  2. 2Vote in rounds
  3. 3Need more than two thirds agreement
  4. 4Commit

Where it is used

Blockchains and high-assurance systems.

Watch out for

Much more expensive than crash-fault tolerant consensus.

Related