Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

leonardoflorido/Chord_DHT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Course

This project was developed under the Distributed Computing course of University of Aveiro.

Installation

  • Clone the repository:
$ git clone https://github.com/leo-dsf/Chord_DHT
  • Install requirements:
$ pip install -r requirements.txt

Running the example

Run in two different terminals:

  • DHT (setups a Chord DHT):
$ python3 DHT.py
  • Example (put and get objects from the DHT):
$ python3 example.py

References

Original Paper.

Authors

License

This project is licensed under the MIT License.

About

Chord (DHT) Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages