A simple simulator for the Paxos consensus algorithm which visualizes the state of each node in the network. Nodes communicate with each other by sending messages through a golang-channel-network, which supports loss rate and delay.
- Proposer
- Acceptor
- Learner
Visualization base on giu, you may need to read the installation guide to make it work.
And then
go run cmd/main.go