Skip to content

AlexDevFlow/raft-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Your Own Raft Consensus Protocol in Python

Tutorial available at my website

Quick Start (if you just want to run it):

# Launch a 3-node cluster
python3 cluster.py --nodes 3

# In another terminal, write and read data
python3 client.py --server http://127.0.0.1:8001 set greeting "hello world"
python3 client.py --server http://127.0.0.1:8001 get greeting

# Check cluster status
python3 client.py --server http://127.0.0.1:8001 status

About

A step-by-step guide to implementing the Raft consensus algorithm from scratch in pure Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages