Skip to content

A peer to peer Distributed Hash Table based on the CHORD protocol. Application uses SHA-1 hash function for partitioning/re-partitioning, routing is ring-based and is capable of handling Node-Joins.

Notifications You must be signed in to change notification settings

nitish29/Distributed-Hash-Table

Repository files navigation

Distributed Hash Table


  • Distributed Hah Table is a Simple Key-Value storage based on Chord design.

  • The Simplified version of Chord covers three things:

    • ID space partitioning/re-partitioning.
    • Ring based routing
    • Node joins
  • SHA-1 hash function is used to lexically arrange nodes in a ring and find the location for a particular key to be stored.

  • Each node maintains a successor and predecessor pointer for nodes in the ring.

  • Content Provider is File Based key-value storage where:

    • The first column name is “key” and is used to store all keys.
    • The second column is “value” and is used to store all values associated with corresponding keys.

PTest

  • Inserts 50 arbitrary key-value pairs in the DHT and queries to check if they exist and returns success/failure messages.

LDump

  • When touched, this button dumps and displays all the <key, value> pairs stored in local partition of the node.

GDump

  • When touched, this button dumps and displays all the <key, value> pairs stored in the entire DHT.

References

[1] Read about Chord here

[2] Single best resource on Android, Android dev

[3] Link to Chord repository on Github, here

About

A peer to peer Distributed Hash Table based on the CHORD protocol. Application uses SHA-1 hash function for partitioning/re-partitioning, routing is ring-based and is capable of handling Node-Joins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages