Home▸Networks & Graph Theory▸Chord Distributed Hash Table: Ring, Hop Histogram and Key Load (2D)

Chord Distributed Hash Table: Ring, Hop Histogram and Key Load (2D)

A top-down view of the same ring with the finger chords of the current node, the lookup path, the histogram of hop counts and the keys stored per machine. Same Chord model and numerical checks as the 3D scene.

Networks & Graph Theory2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Chord Distributed Hash Table: Ring, Hop Histogram and Key Load (2D) ↗ Open standalone

Machines sit at random places on an identifier ring and each key belongs to the first machine clockwise from it. Follow a lookup as a data packet hops between server racks: with Chord fingers every hop at least halves the remaining distance, so about half of log2 N hops are enough, while walking node by node needs about N/2. Change the number of machines, virtual nodes per machine, identifier bits and the routing rule, and see how evenly the keys spread. Verified against the half-log2 hop law, a linear scan for the true successor, the m-hop bound, the harmonic-number law for the largest arc and the Beta-distribution spread of load with virtual nodes. A Blender-built server hall in 3D.

⚙ Under the hood

A top-down view of the same ring with the finger chords of the current node, the lookup path, the histogram of hop counts and the keys stored per machine. Same Chord model and numerical checks as the 3D scene.

Chord DHTDistributed Hash TableConsistent HashingPeer to PeerFinger TableVirtual Nodes

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)