Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
/ DHT Public archive

Distributed Hash Table - CHORD Example

License

Notifications You must be signed in to change notification settings

arendondiosa/DHT

Repository files navigation

Distributed Hash Table (CHORD)

Distributed Hash Table - CHORD Example

Dependencies

Python virtualEnv

  • Install
apt-get install python-virtualenv
  • Create Environment
virtualenv env
env/bin/pip install -r requirements.txt
  • Note: If VirtualEnv fails, run on the terminal
env/bin/pip install numpy termcolor zmq

Python dependencies

Run

node

First node

env/bin/python node.py <my_ip>:<port>

Otherwise

env/bin/python node.py <my_ip>:<port> <other_node_ip>:<port>

client

Terminal

python node.py <my_ip>:<port> <some_node_ring>:<port>

Client Options

Terminal