Settings

Theme

Ask HN: Struggling to Understand DHTs – Any Good Resources?

32 points by anonymzz a year ago · 21 comments · 1 min read


I am studying distributed computing and struggling to understand how Distributed Hash Tables (DHTs) work. Can you recommend any resources, such as books, articles, or anything else, to help me?

jeffadelic a year ago

Read the research paper about the Chord algorithm: https://pdos.csail.mit.edu/papers/chord:sigcomm01/chord_sigc..., then implement the algorithm on your own (paper contains pseudo code).

Or start here, generally read high level details about the algorithm: https://en.wikipedia.org/wiki/Chord_(peer-to-peer).

wolfgarbe a year ago

The most widely used DHT is Kademlia from Petar Maymounkov and David Mazières. It is used in Ethereum, IPFS, I2P, Gnutella DHT, and many other applications.

https://en.wikipedia.org/wiki/Kademlia

https://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia...

https://web.archive.org/web/20120128120732/http://www.cs.ric...

h0p3 a year ago

If you scroll to the bottom, I've a linkdump worth considering: https://h0p3.nekoweb.org/#Outopos%3A%20DHT

tony-allan a year ago

Here is an description for the BitTorrent DHT

https://stackoverflow.com/questions/1332107/dht-in-torrents#...

anacrolix a year ago

https://blog.anacrolix.link/posts/how-not-to-implement-a-dht...

beefnugs a year ago

Also understand how they can be used for unique hard to detect "Scams" like MaidSafe. "We came up with a brand new amazing way to dht! like ants!"

This all sounded technically interesting and useful, and only after ingesting huge amounts of all the technical details do you realize the whole plan was to force everyone to re-write all internet applications over again (dumb) and then it evolved into some slow scam where after 10 years or something they pretend its still being worked on, but nothing ever finishes.

  • anacrolix a year ago

    No, that's because DHTs already work but nobody actually wants them. Then you pretend there's a technical reason to work on DHTs more because you can't deliver your main product.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection