Skip to content

Built a distributed hash table to store and retrieve(key, value) pair that is stored on different computers on the same network.

Notifications You must be signed in to change notification settings

sahil-rajput/distributed-Hash-Table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed-Hash-Table

Built a distributed hash table to store and retrieve(key, value) pair that is stored on different computers on the same network.

Instructions

run

  1. make
  2. ./dht

to run the dht.

Commands

create - create the ring at present IP and port join - join the ring at address - ip and port p . port - set the port to port quit - quit the ring put - insert <key,value> pair to ring . Here key is integer and value is string. get - get the key specified by key(integer). finger - displays addresses of nodes in the finger table.(bonus) successor - gives the ip of the successor node in ring.(bonus) predecessor - gives the ip of the predecessor node in ring. (bonus) dump - display all information pertaining to calling node.(bonus)

About

Built a distributed hash table to store and retrieve(key, value) pair that is stored on different computers on the same network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published