3 ms·
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 wer
by jstanley 6y ago
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 https://docs.dat.foundation/docs/kappa
- andrewosh 6y agoThe 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 https://hypercore-protocol.org/#hyperswarm [1] https://github.com/hyperswarm/hyperswarm https://github.com/hyperswarm/hyperswarm
- mafintosh 6y agoThe 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