Skip to content

neutronest/raft-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raft-golang

Introduction

An experimental projects that implement a simple raft distributed protocol which motivated by MIT 6.824 course.

Used

cd raft && go test -run 2A(2B/2C) | grep -E "Test|Pass|Fail"

then observe the running result.

Plan

Basic Implement

  • Leader Election
  • Log Replica
  • Basic Persist

Optimized Variants

  • Batch version of append entry rpc
  • rollback multistep when prevLogTerm-prevLogIndex is not match
  • fix data race problem

Advanced

  • Snapshot features supported
  • Implement a kv storage based on this raft framework
  • others...

Others

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages