3 ms·
Hi, I wrote this post, and this is something I was wondering about the whole time. It seemed like TCP was a necessary compromise, but I wasn't sure how painful
by sohle 3y ago
Hi, I wrote this post, and this is something I was wondering about the whole time. It seemed like TCP was a necessary compromise, but I wasn't sure how painful the overhead would be. If there are any notable examples you know of where this went wrong (or right) I'd be interested.
- KirillPanov 3y ago> If there are any notable examples you know of where this went wrong IPFS Stop using sessionful protocols for DHTs. It. does. not. work.
- anacrolix 3y agoThis is true. Last time I looked at the DHT in IPFS it was full of kludges and workarounds for performance issues due to the fact that it uses TCP connections underneath.
- anacrolix 3y agoIf it helps, you may find that when you scale your DHT to 10000+ nodes you will start to have issues with building on TCP. Of course many DHTs never get to that scale. IPFS is an example of one that sits just above that mark and can't figure out why things don't work well. For comparison, the BitTorrent DHT has 20 MILLION nodes and works fantastically.