4 ms·
Is it really that unfortunate? What’s the big downside? There’s a bit of reinvention needed, sure, but adding a framing layer is about the easiest task in netw
by iainmerrick 2y ago
Is it really that unfortunate? What’s the big downside?
There’s a bit of reinvention needed, sure, but adding a framing layer is about the easiest task in networking. If you want a standard way of doing it, these days you can use a WebSocket.
Edit to add: oh, I see, you want reliable but unordered messages. That would definitely be useful sometimes, but other times you do want ordering. If you don’t need ordering, isn’t that pretty much what QUIC does?
- p_l 2y agoSCTP did both reliable/unreliable and ordered/unordered, with QUIC arguably being at least a bit inspired by it, but going over UDP because internet is broken. EDIT: Internet being broken is also why there's a grease extension for QUIC
- taneq 2y agoWhat would ‘reliable but unordered’ even mean? What’s the difference between a dropped message and one that’s just late?
- saurik 2y agoThe difference is whether you get to process the ones which came after first or you must wait for the retransmission of the earlier ones. FWIW, SCTP provides for this difference.