louistone / fpaxos

Flexible Paxos implemented in Python3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FPaxos · Maintainability

A (naive) implementation of Flexible Paxos made to test throughput and latency at leader failure

Getting Started

Prerequisites

  • Python 3
  • pip3

Installing

pip3 install -r requirements.txt

Setup

Paxos is here configured to run with 5 nodes locally If you want to run it in the cloud change the IP addresses in config.py

Run python main.py in 5 separate terminal windows and us a unique identifier (A-E) for each window

Run python client.py in another terminal window. It will connect to all the nodes and send an increasingly amount of messages.

About

Flexible Paxos implemented in Python3


Languages

Language:Python 90.8%Language:Shell 9.2%