News for hackers. Stuff that matters.
Re:IPFS Project Roadmap by pdxww on Saturday April 13, 2019 @05:47AM (#19652003)
This is not a roadmap, but rather a wishlist. There is a fundamental problem that IPFS needs to solve first. This problem is called an efficient WebRTC-based DHT. In order to change the web, IPFS needs to become usable in the browsers. Since the backbone of IPFS is DHT, there need to be an efficient UDP-based solution for "DHT in the web". Right now this isn't possible and reasons are not just technical, but political. The IPFS team would need to convince all major players that enabling this DHT scenario is a good idea.
Re:IPFS Project Roadmap by nmca on Saturday April 13, 2019 @08:10AM (#19652516)
I actually wrote a DHT that operated over WebRTC itself with in-band signalling for my undergrad thesis, in the application/js layer. Total PITA, but a ... "good?" learning experience.
Re:IPFS Project Roadmap by pdxww on Sunday April 21, 2019 @05:47PM (#19714765)
How could you possible make such a DHT? We live in the world of NATs, especially symmetric NATs, where each mobile phone user gets assigned a random ip:port every time it makes a connection. DHT, on the other hand, needs every node to have a persistent address that can be contacted any time. In other words, with the NATs, a DHT node cannot cache a bunch of peers and contact them later because those peers are no longer available at those addresses, so every time a node re-joins DHT, it needs to restart the bootstrapping process from scratch, from those initial hardcoded bootstrap servers. Effectively this makes this DHT a fully centralized system. WebRTC cannot solve this problem.
Re:IPFS Project Roadmap by nmca on Monday April 22, 2019 @02:55PM (#19721704)
You have some proportion of power users that are outside NAT and WebRTC (they run a non-browser executable), their addresses can be shared over the network and stored locally. They provide STUN on rejoining, but are not hard-coded.

(Overall, yes this whole thing is a vaguely bad idea. But not totally degenerate / non viable, just not practically worth it.)

Re:IPFS Project Roadmap by pdxww on Wednesday April 24, 2019 @03:15AM (#19736246)
If this idea worked in practice, go-ipfs/js-ipfs wouldn't have so severe problems with connectivity.
Re:IPFS Project Roadmap by zzzcpan on Sunday April 21, 2019 @06:01PM (#19714844)
DHT doesn't need every node to have a persistent reachable address from every other node directly. It's ok if some have persistent addresses, some can be reachable after NAT traversal or only through other nodes acting as relays.
Re:IPFS Project Roadmap by marknadal on Saturday April 13, 2019 @02:50PM (#19654968)
any links, please?
Re:IPFS Project Roadmap by nmca on Saturday April 13, 2019 @03:16PM (#19655151)
(Forgive janky thesis-ness) https://bit.ly/2P7w6cq
Re:IPFS Project Roadmap by jonnydubowsky on Monday April 15, 2019 @12:24PM (#19666528)
This paper is really well done. Im interested in seeing what comes of this. Going to spend some more time with it. Looks like you had the initial idea in 2011, ahead of its time. Well done.
Re:IPFS Project Roadmap by fiatjaf on Saturday April 13, 2019 @05:57PM (#19655991)
IPFS is not usable outside of browsers yet, so I guess you're too optimistic.