<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dht.git/src/proto.h, branch peer_table</title>
<subtitle>BitTorrent DHT peer
</subtitle>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/'/>
<entry>
<title>Give nodes a little more timeout time</title>
<updated>2025-05-11T17:13:28+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@jnsn.dev</email>
</author>
<published>2025-05-11T17:09:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=d6318a064954f54530a87ae9a21a2cf78c32f7cb'/>
<id>d6318a064954f54530a87ae9a21a2cf78c32f7cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor lookup init and add routing table metric</title>
<updated>2025-05-03T22:39:13+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@jnsn.dev</email>
</author>
<published>2025-05-03T22:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=2c4af77f5f7231b560c344ccaff3cc73f0d616e9'/>
<id>2c4af77f5f7231b560c344ccaff3cc73f0d616e9</id>
<content type='text'>
I think it would be nice to see the detailed routing table occupancy.
I've added a metric that exposes the current occupancy of each bucket.
That should provide me some insight into the current distribution of
nodes and if we need to find a way to keep the closer buckets alive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I think it would be nice to see the detailed routing table occupancy.
I've added a metric that exposes the current occupancy of each bucket.
That should provide me some insight into the current distribution of
nodes and if we need to find a way to keep the closer buckets alive.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a first approximation of a lookup algorithm</title>
<updated>2025-04-16T21:34:03+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@jnsn.dev</email>
</author>
<published>2025-04-16T21:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=188666dc51233051985715b01631e069a7939442'/>
<id>188666dc51233051985715b01631e069a7939442</id>
<content type='text'>
This isn't really "correct" but it's probably going to work. It's
a rough implementation of the Kademlia lookup algorithm, with the
modification that we don't keep track of anything behind the frontier.
We are therefore counting on peers being ok with us potentially sending
them the "same" request multiple times. If they respond in a reasonable
time, the double request rate _should_ be minimal, but that of course
carries the risk that an already overloaded peer would get even more
queries.

I don't know. It's a first try at something. I need to see it work
before I write it off completely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This isn't really "correct" but it's probably going to work. It's
a rough implementation of the Kademlia lookup algorithm, with the
modification that we don't keep track of anything behind the frontier.
We are therefore counting on peers being ok with us potentially sending
them the "same" request multiple times. If they respond in a reasonable
time, the double request rate _should_ be minimal, but that of course
carries the risk that an already overloaded peer would get even more
queries.

I don't know. It's a first try at something. I need to see it work
before I write it off completely.
</pre>
</div>
</content>
</entry>
<entry>
<title>I don't know</title>
<updated>2025-04-12T08:21:20+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@jnsn.dev</email>
</author>
<published>2024-01-28T08:01:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=cd622b745254baafa21adf4b1b724e079652321a'/>
<id>cd622b745254baafa21adf4b1b724e079652321a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>I don't remember</title>
<updated>2025-04-12T08:21:20+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@jnsn.dev</email>
</author>
<published>2023-07-23T10:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=47d4780eb448f839fc6b0644135395f879080ba4'/>
<id>47d4780eb448f839fc6b0644135395f879080ba4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase payload size</title>
<updated>2021-10-27T18:24:30+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@slashwin.dk</email>
</author>
<published>2021-10-27T18:24:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=42a627aab5e47c3f3e05460322b9c1c3f2c69214'/>
<id>42a627aab5e47c3f3e05460322b9c1c3f2c69214</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add find_node query</title>
<updated>2021-10-16T18:16:38+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@slashwin.dk</email>
</author>
<published>2021-10-16T18:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=ef39868b6bffa3030c7cbc083df1301849fba0f7'/>
<id>ef39868b6bffa3030c7cbc083df1301849fba0f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add timeout handling</title>
<updated>2021-10-01T22:26:52+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@slashwin.dk</email>
</author>
<published>2021-10-01T22:25:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=e3eb0d2eda0bb8c4decf9bc56b025157e70387c2'/>
<id>e3eb0d2eda0bb8c4decf9bc56b025157e70387c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add timeout</title>
<updated>2021-09-25T19:04:29+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@slashwin.dk</email>
</author>
<published>2021-09-25T19:04:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=c46781095ec64fbc4f8cf6097ca70b594a68c583'/>
<id>c46781095ec64fbc4f8cf6097ca70b594a68c583</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add general tests</title>
<updated>2021-09-19T09:46:27+00:00</updated>
<author>
<name>Jesper Jensen</name>
<email>jesper@slashwin.dk</email>
</author>
<published>2021-09-19T09:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/dht.git/commit/?id=b5127f1c7624f40437159f164ac8eabc50b65f74'/>
<id>b5127f1c7624f40437159f164ac8eabc50b65f74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
