3 ms·
Good question :) When it comes to reliable streams and WebTransport vs WebSockets I really don't see much improvement. Where I do see a simplification is when
by eis 4y ago
Good question :)
When it comes to reliable streams and WebTransport vs WebSockets I really don't see much improvement. Where I do see a simplification is when it comes to WebTransport vs WebRTC data channels. It's just a simpler API and protocol.
- josephg 4y agoEven reliable streams benefit from webtransport. Right now (as I understand it) WebSocket is HTTP1.1 only - which means if you’re using HTTP2/HTTP3 and want to use websockets, the websocket connection will create a separate TCP connection just for WS. This is slow to start - both due to needing another handshake and TLS dance. And you can run into a bunch of problems due to per-domain browser connection limits. Reliable streams over webtransport will solve these problems. They’ll be faster, more reliable and a better fit for HTTP/3.