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

Latest commit

 

History

History
48 lines (39 loc) · 912 Bytes

README.md

File metadata and controls

48 lines (39 loc) · 912 Bytes

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