This bidirectional communication happens without the overhead of HTTP headers on every message. After the handshake completes, both consumer and server can send messages via the open connection at any time. The shopper sends a regular HTTP request with particular headers, requesting an improve to the WebSocket protocol. Understanding how WebSockets work requires following the …
Continue reading “Websockets At Scale: Structure For Tens Of Millions Of Connections”