Hacker News new | past | comments | ask | show | jobs | submit login

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.




We 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/featur...


What are your plans WRT Coral? I noticed there's a work-in-progress Go implementation. Is it going to supercede Kademlia eventually?


Yeah, thats roughly the idea. We can evolve the current DHT into something coral-like, or if something better comes along, we will use that.


In 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_Net...)


Tbh, chances are you will find a faster path through earth peers. The query will explore multiple paths in parallel and timeout slow ones...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: