aryanGupta-09 / Raft-Algorithm

Raft algorithm with lease functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raft-Algorithm

Crafting 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.

Tech Stack

Python Google Cloud  Protobuf  gRPC

Installation

  1. Clone the repo
  git clone https://github.com/aryanGupta-09/Raft-Algorithm.git
  1. Go to the project directory
  cd Raft-Algorithm
  1. Generate the Python code for gRPC
  python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node.proto
  1. Run the Python files