Skip to content

swagnikdutta/raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raft

This is an educational project to understand how consensus works. It features a toy implementation of the raft protocol.

It is partially complete, till the leader election step.

The gif below demonstrates a cluster with three nodes. The server with id = 101 wins the election to become the leader and starts sending heartbeats to its followers - 102 and 103 at fixed intervals. The heartbeat resets the timer on the followers, preventing them from transitioning into the candidate state.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages