Live data from Hacker News

Network protocols for anyone who knows a programming language

destroyallsoftware.com

71–72 of 72 posts

Re: Network protocols for anyone who knows a programming language

#71

Why doesn't TCP have an "I lost a packet" message? Is it just that no one thought of it until too late? Hacking around the problem by sending multiple ACK's sounds inefficient.

QUIC uses forward error correction which is pretty neat. QUIC sends an XOR sum of the last 10 or so packets or so, just in case one gets dropped.

If the receiver is missing a packet, it can just XOR the last 10 packets plus the correction packet to get the missing packet.

Re: Network protocols for anyone who knows a programming language

#72

I love the ending... just goes to show that anything you build may be around for years longer than you expect.

I think we'd have http header compression regardless of packet size. Headers usually make up the majority of an http request. It makes sense to compress that.
Post reply on HN