Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple raft implementation (raft-lite) #39

merged 9 commits into from Apr 24, 2018


None yet
3 participants
Copy link

oestrich commented Apr 22, 2018

  • Simple leader election
  • Add in nodes
  • Handle leader node dying


  • Link raft processes to know when the raft process dies? Start re-election
Start on a raft implementation
- Simple leader election and start of a heartbeat

@oestrich oestrich self-assigned this Apr 22, 2018

@@ -169,6 +194,10 @@ defmodule Raft.Server do

@doc """
Check if the ndoe has voted in this term

This comment has been minimized.


mattmenefee Apr 23, 2018

node instead of ndoe?


This comment has been minimized.

Copy link

tielur commented Apr 23, 2018

Is this implementation based off of the Raft library?


This comment has been minimized.

Copy link
Owner Author

oestrich commented Apr 23, 2018

It's based off of me reading the paper. I only want/need leader election and not the distributed log, plus its fun to write out. I reviewed hex and that library looked too new to use so I went with this.

@oestrich oestrich merged commit c41167d into master Apr 24, 2018

@oestrich oestrich deleted the raft branch Apr 24, 2018


This comment has been minimized.

Copy link
Owner Author

oestrich commented Apr 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.