Skip to the content.

Distributed hash table

Structure

Workflow

Assume we want to index a file with given filename and data in DHT.

Consistent hashing

Using f(k, nodeID) to calculate which node is closest.

Rendezvous hashing

Using f(k, nodeID) to calculate the weight against all servers, then pick the one has highest score(height).

References