An implementation of the basic functions of the Chord distributed hash table (DHT).
Sagar Vishwakarma (svishwa2@binghamton.edu)
State University of New York, Binghamton
- ./gen-py/chord/*.py - Contains files used, generated by thrift
- ./chord.thrift - File used while generating above files by thrift
- ./init - Py File to initialize nodes of servers
- ./src/server.py - Py File contains implementation of stubs methods generated by thrift
- ./src/client.py - Py File contains implementation to test the stubs methods on server
- ./server.sh - Script to start all the servers based on argument from list in "./nodes" file
- ./client.sh - Script to test all the stubs methods on server based on arguments from list in "./operations" file
- Open a terminal in project directory
- Run all the servers at onces : ./server.sh -> then type the file name of nodes list
- Run all operation using client at onces : ./client.sh -> then type the file name of operation list
- Run individual client operations : python3 ./src/client.py
- Type python3 ./src/client.py -h to know more about the arguments expected
- Language & Framework : Python 3.5.2 & Thrift version 0.13.0
- All the stubs methods are implemented and tested on the server side.