Hussein Nasser

The Anatomy of a WebSockets frame

With a maximum header size of 14 bytes makes more efficient for bidirectional use cases (eg chatting, gaming) compared to using long polling which has the overhead of HTTP headers.

Maximum message size can be up to 2^63 bytes

Of course being on top of TCP we suffer the head of line blocking.

3 weeks ago | [YT] | 467