/go-raft

Go复现的Raft内存KV数据库(参考MIT 6.824)

Primary LanguageGo

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