go-raft
A reliable raft algorithm implementation which is inspired by MIT6.824 's Lab and passed all the correctness tests.
Learn more about details and my experience, please take a look at:mit-6.824.
todo
- Memory-independent snapshot size
- InstallSnapshot RPC with split chunks.
- Simple client for talking to leader.
try
Construct a raft cluster of 3 nodes, and node2 deplayed to join.
cd raft
go test