News for hackers. Stuff that matters.
Re:Hyperdrive v10 – a peer-to-peer filesystem by jstanley on Thursday May 14, 2020 @01:26PM (#23182466)
Total noob question, but:

Last time Dat was on HN I tried to follow the "simple chat application" tutorial[0], but got stuck at the stage where 2 instances were supposed to automatically discover each other because they only intermittently managed to actually discover each other.

Will this new version of Hyperdrive improve this? Or is it something completely different?

[0] https://docs.dat.foundation/docs/kappa

Re:Hyperdrive v10 – a peer-to-peer filesystem by andrewosh on Thursday May 14, 2020 @01:34PM (#23182609)
The new version has a totally revamped networking stack that should be a lot faster and more reliable. Part of it includes a new UDP holepunching algorithm that's had a super high success rate for us in practice.

There are some diagrams describing this on the Hypercore Protocol [0] site, and the repo's can be found here.

[0] https://hypercore-protocol.org/#hyperswarm

[1] https://github.com/hyperswarm/hyperswarm

Re:Hyperdrive v10 – a peer-to-peer filesystem by mafintosh on Thursday May 14, 2020 @01:39PM (#23182715)
The new holepunching algorithm also runs distributed on the our DHT, meaning any peer can help you holepunch to other peers.

We also talk a bit more about this on the hypercore website