Skip to content
StackDecode
System Design
18. Advanced Distributed ArchitectureAnimated

Byzantine Fault-Tolerant Systems

Systems tolerating malicious nodes.

The idea

Need 3f+1 nodes to tolerate f faulty ones.

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. 1Broadcast a proposal
  2. 2Exchange votes
  3. 3Wait for two thirds
  4. 4Commit

Where it is used

Blockchains.

Watch out for

High message overhead.

Related