3 ms·
Doesn’t IPFS still rely on Kademlia? Since node IDs are random, node lookup may require multiple interplanetary hops, no? For instance, from N1 on Earth to th
by espadrine 6y ago
Doesn’t IPFS still rely on Kademlia?
Since node IDs are random, node lookup may require multiple interplanetary hops, no?
For instance, from N1 on Earth to the nearest XORwise node in its routing table which might be N2 on Mars, whose routing table finds the target node N3 on Earth.
- momack2 6y agoWe do use Kademlia - but note this release actually runs 2 DHTs - one for LAN connections and one for WAN connections. You could easily imagine a small Mars outpost as the LAN DHT where you can do fast retrieval for all content already available locally without hitting interplanetary lookup times. https://docs-beta.ipfs.io/recent-releases/go-ipfs-0-5/features/#improved-dht https://docs-beta.ipfs.io/recent-releases/go-ipfs-0-5/featur...
- omginternets 6y agoWhat are your plans WRT Coral? I noticed there's a work-in-progress Go implementation. Is it going to supercede Kademlia eventually?
- whyrusleeping 6y agoYeah, thats roughly the idea. We can evolve the current DHT into something coral-like, or if something better comes along, we will use that.
- whyrusleeping 6y agoIn an actual interplanetary setup, we would definitely not be using a single DHT across the entire space. The main idea once we get to that scale is either a different content routing system altogether, or sharded coral style DHTs (https://en.wikipedia.org/wiki/Coral_Content_Distribution_Network https://en.wikipedia.org/wiki/Coral_Content_Distribution_Net...)
- hecturchi 6y agoTbh, chances are you will find a faster path through earth peers. The query will explore multiple paths in parallel and timeout slow ones...