3 ms·
You could do that. But it would introduce a lot of head of line blocking on that connection. In return you Save a TLS handshake which might not be too important
by Matthias247 6y ago
You could do that. But it would introduce a lot of head of line blocking on that connection. In return you Save a TLS handshake which might not be too important for long lived connections.
Plus it requires the backend to support that custom multiplexing layer.
- muxator 6y agoHow so? Why there should be a head of line blocking? This would be a simple multiplexing of the payloads.
- Matthias247 6y agoIf there on the other connection a lot of messages are exchanged (and a websocket frame could be gigabytes long according to the spec) the other stream would be blocked behind that.Of course that can be mitigated by using a non websocket framing, but that in the end reinvents yet another transport layer.