The easiest DHT to implement

18,912

Solution 1

If you are focused on implementation, rather than looking for an out-of-the-box solution, this article might help a bit: http://www.linuxjournal.com/article/6797

Solution 2

In my job I'm working with entagled. I can't say it's great code, but it seems to be the only Kademlia implementation for Python around.

I think Kademlia has become the default DHT for most applications today, because it's quite simple and has fast lookups. At least in the academic world that I've seen so far.

Solution 3

You might want to check out DHTBot. It's a python implementation of the BitTorrent MDHT and is written using twisted, a high-level python networking library.

(**Disclaimer: I am the author of DHTBot)

Solution 4

You may also check btdht that doesn't use twisted and is useful to sniff Bittorrent DHT.

Share:
18,912
mtasic85
Author by

mtasic85

Software engineer, and more important, researcher who seeks for better solutions, and at the same time for original ideas in technology, engineering and science.

Updated on June 22, 2022

Comments

  • mtasic85
    mtasic85 about 2 years

    Which Distributed Hash Table (DHT) is easiest to implement in Python? Any good example that is not bloated?

    I not am looking for a definition of DHT because I am more oriented and focused on design and implementation of such.