/cs425-mp3

Chord-like distributed hashtable

Primary LanguageGo

======= cs425-mp3

Chord-like distributed hashtable

Setup

Once downloaded to run the program typ -make : this should create an executable called myks

  • type ./myks, this will create the first server
  • on other computers, join by typing ./myks with flags
  • -l=port (this is the port to listen on, must be free)
  • -g=port (this is the port of a machine already in the group to join)

Modules

ring: Handles distributing keys/machines on the ring

usertable: Machines, addresses, locations on ring. Allows updating a machine's location. May be redundant if we put all this functionality in 'ring' instead. data : Handles data storage , handling and marshalling as well group member storage

See pdf included in the code for further algorithm description and latency analysis.