https://github.com/resetius/miniraft
Simple Raft implementaion using Python
https://github.com/resetius/miniraft
Last synced: 11 months ago
JSON representation
Simple Raft implementaion using Python
- Host: GitHub
- URL: https://github.com/resetius/miniraft
- Owner: resetius
- License: bsd-2-clause
- Created: 2023-03-27T20:37:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T15:40:19.000Z (about 3 years ago)
- Last Synced: 2025-02-01T13:25:34.405Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raft
This is a simple Raft implementation using Python Programming Language.
For the implementation I use the reference raft paper: https://raft.github.io/raft.pdf
Usage:
```
$ python3 main.py 1 # start node 1
$ python3 main.py 2 # start node 2
$ python3 main.py 3 # start node 3
...
$ python3 client.py # start client
> type smth
... # see messages replication in nodes logs
```