6 ms·
Those numbers are for a different page. For the original page, the article quotes 44 kB with this method vs. 92 kB for gzip. > At 69 KiB you're still over the
by jsnell 2y ago
Those numbers are for a different page. For the original page, the article quotes 44 kB with this method vs. 92 kB for gzip.
> At 69 KiB you're still over the default TCP packet max, which means both cases transmit the same number of packets,
What? No, they absolutely don't transmit the same number of packets. Did you mean some other word?
- codetrotter 2y agoThey were probably thinking of the max size for packets in TCP, which is 64K (65535 bytes). However, Ethernet has a MTU (Maximum Transmission Unit) of 1500 bytes. Unless jumbo frames are used. And so I agree with you, the number of packets that will be sent for 69 KiB vs 92 KiB will likely be different.
- deleted 2y ago[deleted]
- mananaysiempre 2y agoI expect what GP meant is the default TCP window size, so in a situation where bandwidth costs are dwarfed by roundtrip costs, these two cases will end up taking essentially the same time, because they will incur the same number of ACK roundtrips. Don’t know if the numbers work out, but they at least sound plausible.
- BugsJustFindMe 2y agoYes, sorry
- jsnell 2y agoNo, there is no way the numbers would work out to the same number of roundtrips. The sizes are different by a factor of 2.5x, and the congestion window will only double in a single roundtrip. The only way the number of roundtrips would be the same is if both transfers fit in the initial congestion window.