Skip to content

An exploratory implementation of the Raft protocol.

License

Notifications You must be signed in to change notification settings

clark-lindsay/argo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argo

An implementation of the Raft distributed consensus algorithm for fun and learning.

Why "Argo"? Because a raft is a sort of boat, and I can't imagine a better "raft" for escaping from the island of Paxos than the Argo.

Disclaimer

First things first: this implementation should not be used for anything except the aforementioned goals of "fun and learning".

I wrote this because I was first intrigued by the protocol, and then enamored by actually being able to understand it after reading the paper, which was different from my experience with Paxos where I was first intrigued, and then bewildered (the "made simple" paper is still a good read, though).

Corners that I cut

Non-exhaustive list of things that I cut out because they either didn't seem valuable given the goals of "fun and learning" or I just haven't gotten around to it:

  • servers writing their log to non-volatile storage
  • each server running a state machine, fed with events from the log
  • distribution across nodes
    • i.e. i am using a registry for cluster membership, instead of a distributed solution like pg

About

An exploratory implementation of the Raft protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages