Chris Pollett > Students >
Ajinkya

    ( Print View)

    [Bio]

    [Blog]

    [CS297 Proposal]

    [Overview on IPFS and SWARM - PDF]

    [Deliverable 1]

    [Deliverable 2]

    [Deliverable 3]

    [Solidity Overview - PDF]

    [Deliverable 4]

    [CS297 Report - PDF]

    [CS298 Proposal]

    [CS298 Final Report-PDF]

    [CS298 Defense Slides-PDF]

CS297 Deliverable 1

CHORD implementation

Description: I have implemented the famous chord protocol which is based on
consistent hashing to locate the available nodes in the system. It can be used to place other nodes and keys using finger tables in the chord ring

The project makes use of GRPC for communication between multiple nodes

Example Following is the Java implementation with a few example screenshots

1. Run Node.java with a command line argument using the port 9000

ss1

2. Start Node on any another port

ss2

3. Keep the above nodes running and check their respective info by running Client.java
Below we see finger table for different nodes along with their successors and predecessors

ss3 ss4

4. Start another node on 9090

ss5

5. Enter a few keys to store in the network

ss6 ss7

6. Check where the key is stored

ss8 ss9 ss10

7. Enter a new node 9090

ss11 ss12

8.Key 80 gets shifted to 9090 as the new node is added

ss13

The project makes use of GRPC for communication between multiple nodes

The project can be found at [ Download Project - Zip]