This looks exciting and I'm pleased to see more and more frictionless ways of making p2p apps. I've been building a somewhat similar hobby project [1] that aims to connect peers in the browser by piggybacking on open protocols out on the net (BitTorrent, MQTT, Nostr, IPFS, etc). This project seems to be using Hyperswarm which I've looked at for use as a peering medium but it seems like it's not supported in the brows…
Holepunch Unveils P2P Platform "Pear Runtime"
21–30 of 56 posts
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#22Re: Holepunch Unveils P2P Platform "Pear Runtime"
#23Holepunch provides a collection of “small javascript modules” which can be combined to create unlimited P2P apps, from VPNs to communication tools like Keet.
This is the first I've seen of combining the ideas of a P2P framework and a client-side (which becomes "server-side" because a local P2P Client -- is also and/or can become a remote P2P Server) JavaScript execution engine...
Now that's... different! :-) (For lack of a better word!)
At least in a "that sounds novel!" kind of way...
It'll be interesting to see where all of this goes in the future!
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#24Earlier quoted context omitted.
I'm guessing its due to the NATs they use. Carrier-grade NATs with made-up IPs and symmetric NATs. You can have some kind of options for symmetric NATs. But I'm not too sure about carrier-grade NATs yet as I've never even written code for this yet.
No it's mostly the battery limitations. Keeping links open P2P requires keepalive because NATs will time out. Even with IPv6 there are usually stateful firewalls in the way that will time out. This means you're constantly sending little packets, and if you have a lot of links there's a lot of keep alive cycles that have to be serviced. This keeps radios and baseband hardware from being able to sleep, draining the bat…
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#25Are there any plans to support mobile platforms?
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#26> Created by Holepunch, a Tether-backed company Is this the same Tether as in the USDT stablecoin that's been accused of pumping up the volume in Bitcoin markets and possibly being secretly insolvent?
you realize the biggest tether controversy involves them being briefly 800% more solvent than banks, instead of 1,000% more solvent than banks? and we know that because they’ve been investigated by multiple authorities in the US and paid fines for that specific reason? just making sure we are on the same page about the controversy
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#27It would be nice to see a technical overview, but this is absent from their docs. Looking at their modules reference docs the runtime seems to comprise:
- A distributed replicated log - Peer discover via a distributed hash table - UDP holepunching to set up direct connections - A TCP like protocol running over the UDP connection - Key-based crypto routing (ala wireguard)
I assume there needs to be some servers available to facilitate the holepunching. Not sure how that works.
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#28Can someone help me compare this to libp2p, or just using webrtc with peer.js etc.. on both the peers? Is it just about having access to their DHT for session management?
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#29What dreadful marketing drivel on their site. It would be nice to see a technical overview, but this is absent from their docs. Looking at their modules reference docs the runtime seems to comprise: - A distributed replicated log - Peer discover via a distributed hash table - UDP holepunching to set up direct connections - A TCP like protocol running over the UDP connection - Key-based crypto routing (ala wireguard)…
Not needed. Other phones can help you determine connectable ports. You can create a phone-to-phone overlay and even puncture carrier-grade NATs. See our birthday paradox attack and initial dozen SIM cards measurements: https://arxiv.org/abs/2311.04658 Older university project, similar to Holepunch with more dev docs: github.com/Tribler/trustchain-superapp/
Re: Holepunch Unveils P2P Platform "Pear Runtime"
#30> Created by Holepunch, a Tether-backed company Is this the same Tether as in the USDT stablecoin that's been accused of pumping up the volume in Bitcoin markets and possibly being secretly insolvent?
Genuine curiosity: What's the issue with a company being backed by Tether? I understand that, as it stands today, Holepunch appears to be operated or contributed to by several staff members from Bitfinex and Tether. However, if Holepunch is open source and Tether were to implode, Holepunch would still exist and could be adopted by anyone, irrespective of Tether/Bitfinex, etc., correct?
it's like seeing something was a java applet or activex component in the 2000s