3 ms·
WebSockets [1] run over TCP, and the messages are ordered. There is RFC 9220 [2] that makes WebSockets go over QUIC (which is UDP-based). But that's still expe
by gkbrk 10mo ago
WebSockets [1] run over TCP, and the messages are ordered.
There is RFC 9220 [2] that makes WebSockets go over QUIC (which is UDP-based). But that's still expected to expose a stream of bytes to the WebSocket, which still keeps the ordering guarantee.
[1]: https://datatracker.ietf.org/doc/html/rfc6455 https://datatracker.ietf.org/doc/html/rfc6455
[2]: https://datatracker.ietf.org/doc/rfc9220/ https://datatracker.ietf.org/doc/rfc9220/