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.
- 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
- 1Broadcast a proposal
- 2Exchange votes
- 3Wait for two thirds
- 4Commit
Where it is used
Blockchains.
Watch out for
High message overhead.