Skip to content

raft implement by rookie, without referencing any code, just the paper. Light is of the essence, such a small code is friendly to beginners like me.

Notifications You must be signed in to change notification settings

YNX940214/my_raft

Repository files navigation

raft by rookie

菜鸟从零实现raft,仅仅根据raft paper

raft implement by rookie, without referencing any code, just the paper.

built on Mac, prerequests:

  • protobuf
  • boost/asio

done:

  • election
  • log replication
  • state machine apply and client (interface and an example)

todo:

  • snapshot
  • reconfiguration
  • full tests
  • benchmark
  • read code: logcabin, braft, hashcorp/raft

ynx940214@qq.com

About

raft implement by rookie, without referencing any code, just the paper. Light is of the essence, such a small code is friendly to beginners like me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages