A robust distributed consensus system on Google Cloud, integrating the Raft algorithm with gRPC communication and leader lease mechanism. This project showcases the efficiency and reliability of distributed systems while ensuring seamless coordination and fault tolerance across nodes.
- Clone the repo
git clone https://github.com/aryanGupta-09/Raft-Algorithm.git
- Go to the project directory
cd Raft-Algorithm
- Generate the Python code for gRPC
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node.proto
- Run the Python files