Hacker News new | ask | show | jobs
by zeroxfe 2084 days ago
> I can understand your post, but I don't quite buy the TCP thing. I don't think anyone is using TCP for ordering, they're using it because they don't want their packet dropped.

Think of (almost) any modern protocol built on top of TCP, and you'll see that ordering is critical. (http, smtp, telnet/ssh, etc.)

2 comments

Gotcha, ok so specifically protocols built on TCP.
There's no ordering in HTTP. If you could send a whole HTTP request as a UDP packet you'd get exactly the same protocol (obviously sans WebSockets - but you could work around that).
There are numerous valid HTTP payloads that are larger than a single TCP/UDP packet.

Ordering is important in these cases.

I think I made a point that “if you could fit the whole HTTP request in one UDP packet”, have you read my message?
How would you process an unordered response?
As I have said - you fit in in a single datagram