Show notes
Why does a chat message arrive instantly, but the web was never built for it? In this deep dive we unpack WebSockets: how engineers turned a request/response web into an open, two-way line, and what that costs at scale.
You'll learn:
- Why short polling, long polling and Server-Sent Events fall short (and the math behind 200,000 empty requests per second)
- How the WebSocket handshake hides inside a normal HTTP request, and the "cryptographic high-five" that proves the server understood
- Why clients mask every frame but servers never do, and the cache-poisoning attack it prevents…
Website: podcasters.spotify.com

