Exploring the P2P world with WebRTC & JavaScript
summary
Claim: WebRTC plus Kademlia DHT and BitTorrent primitives can recreate decentralised web apps that run in browsers. Demonstrations include WebTorrent in-browser BitTorrent that serves arbitrary blobs as torrents, mandatory DTLS session encryption, and connection setup using ICE STUN and TURN candidates for NAT traversal. Practical limits appear: browser connection limits and short-lived tabs break large DHTs, TURN is costly, and workarounds like service workers or hybrid nodes are suggested but not yet solved.
AI-written summary · about
chapters (16)
- 0:00Intro
- 2:33Federated Internet
- 4:30Centralized Internet
- 5:57Perils of Centralization
- 8:40Fundamentals
- 10:24Data channels
- 16:07NAT traversal
- 17:24STUN & TURN
- 21:03Full mesh topology
- 21:37Star topology
- 22:23Structured networks
- 22:54BitTorrent
- 25:16Not only file sharing
- 26:29WebRTC Limitations
- 28:16Distributed systems are hard
- 29:25Economy and incentives
related talks
35mExploring the world of decentralized networks with WebRTC
34mWebRTC Mad Science
53mThe State of WebRTC
38mPushing the limits of JavaScript with P2P and streaming BitTorrent
43mWeb Apps of The Future
18mBuilding Peer To Peer Applications in Node
01h 03mTowards a server-less Web
20mSharing is Caring: build a peer-to-peer network with WebRTC
