joao-p-marques / chord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHORD (DHT)

This repository implement a simple version of the CHORD algorithm. The provided code already setups the ring network properly.

  1. Supports Node Joins
  2. Finds the correct successor for a node
  3. Run Stabilize periodically to correct the network

Running the example

Run in two different terminal:

DHT (setups a CHORD DHT):

$ python3 DHT.py

example (put and get objects from the DHT):

$ python3 example.py

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

License:MIT License


Languages

Language:Python 100.0%