This repository implement a simple version of the Chord algorithm. The provided code already setups the ring network properly.
- Supports Node Joins
- Finds the correct successor for a node
- Run Stabilize periodically to correct the network
This project was developed under the Distributed Computing course of University of Aveiro.
- Clone the repository:
$ git clone https://github.com/leo-dsf/Chord_DHT
- Install requirements:
$ pip install -r requirements.txt
Run in two different terminals:
- DHT (setups a Chord DHT):
$ python3 DHT.py
- Example (put and get objects from the DHT):
$ python3 example.py
- Leonardo Flórido - leo-dsf
- Gabriel Hall - GabrielHall02
This project is licensed under the MIT License.