Browser connectivity state of the union and demo
summary
Browser connectivity now uses concrete transports: WebSocket requires CA-signed TLS and costs ~4–6 RTTs, so it’s slow and impractical for ephemeral libp2p nodes. go-libp2p ships an experimental WebTransport via certificate-hash path that accepts short-lived certs in multiaddrs, rotates certs to meet the 14‑day limit, and cuts handshake to three RTTs (target two) by leveraging QUIC streams and Noise; Rust lacks WebTransport support yet. WebRTC remains for NAT traversal and browser-to-browser, but currently takes ~6 RTTs; JS demo shows downloading from a Kubo node works end-to-end.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:00libp2p Connections - Security Handshake
- 1:37libp2p Connections - Stream Multiplexing
- 2:12libp2p Connections - Options
- 4:59WebSocket-security properties
- 7:16WebSocket-libp2p handshake
- 9:56WebTransport-security properties
- 11:17WebTransport - with Certificate Hashes
- 13:03WebTransport - Latency
- 14:31WebTransport - Use Cases
- 19:09WebRTC - Browser to Server
- 20:43WebRTC - Browser to Browser
- 21:09WebRTC - Use Cases
