A BEP 5 compatible kademlia/bittorrent DHT library

434 views
Skip to first unread message

Yves Junqueira

unread,
Nov 8, 2012, 10:25:18 PM11/8/12
to golang-nuts
Hi,

I realize there are many of these out there already, but in my defense
I started working on this a while back:

https://github.com/nictuku/dht

That's a Kademlia/Bittorrent DHT library that implements BEP 5 [0].

It was originally created as a companion to jackpal's
Taipei-Torrent[1], but it could be used by other torrent clients, or
as a standalone DHT router, or for other more creative purposes.

The DHT performs well and supports the most important features despite
its simple API.

It's able to process approx 3000 incoming packets per second in a
single core of a very old AMD Athlon(tm) 64 Processor 3700+, from
circa 2004, when the optional rate-limiting feature is disabled.

For usage details and example, see the online documentation at:
http://go.pkgdoc.org/github.com/nictuku/dht

[0] http://www.bittorrent.org/beps/bep_0005.html "DHT Protocol"
[1] http://github.com/jackpal/Taipei-Torrent, see also my friendly
fork at http://github.com/nictuku/Taipei-Torrent

--
Yves Junqueira <http://cetico.org/about>
Message has been deleted

Yves Junqueira

unread,
Oct 2, 2014, 2:38:07 PM10/2/14
to Uriel Fanelli, golang-nuts

See http://godoc.org/github.com/nictuku/dht#example-DHT

On Oct 1, 2014 12:43 PM, "Uriel Fanelli" <uriel....@gmail.com> wrote:
very interesting. I needed some BEP 5 libraries to do an application (and also learn go), so
It is very useful for me.

Now, the issue I found is I haven't ane documentation to read about it: how to invoke what, and so on.

Is there a doc with the thinks I can invoke from that?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages