Internet of Peers
summary
Claim: direct peers connect without central servers for most users. Uses UDP hole punching plus BitTorrent DHT and DNS for discovery, exposes modules like discovery-swarm and a CLI peer-to-peer-test. Measurement shows about 90% of networks accept the hole-punch technique, with a relay fallback for the rest. Built examples include a live streaming app called hypervision and simple chat demos; the demos run successfully on stage, proving the approach works end to end.
AI-written summary · about
chapters (17)
- 0:00Start
- 0:09Internet of Peers
- 0:53@mafintosh
- 1:25Connecting to servers is easy
- 2:18connect to 10.4.24.1:10000
- 2:32Works because has a stable ip and is configured to accept incoming traffic
- 2:57Servers are boring though
- 5:08Problem: Connecting to other clients is hard
- 7:54Makes it really hard to make P2P tcp connections
- 8:17Solution: udp
- 8:39udp is great because it is stateless
- 9:16Example
- 10:20We can use this to trick to allow P2P connections!
- 11:39They both know the same server
- 14:55works on most networks / firewalls
- 17:52npm install peer-network npm install discovery-swarm magic hole punching modules
- 24:43DEMO








