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

> The Inter-Planetary Name System (IPNS), our system for creating mutable links for content addresses, now provides faster naming lookups and has a new experimental pubsub transport to speed up record distribution. Providing an IPNS record is now 30-40x faster in 1K node network simulations!

IPNS performance was abysmal last time I tried to use ipfs (took > 30 seconds a fair amount of the time). Curious to see what it's like now.




The ping from Earth to Mars varies between 360 and 2600 seconds, so 30 might still be fast enough for an "interplanetary" thing.


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...


Isn't the point of IPFS exactly to get those pings far down due to the file being hosted on your planet?


I know your comment could be viewed as being flippant but none the less it made me chuckle.


Surely they’d have an edge server eas-earth-1




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

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

Search: