Re:Performance Testing HTTP/1.1 vs. HTTP/2 vs. HTTP/2 and Se...
by treve on Thursday January 02, 2020 @05:15PM
(#21940536)
> The main advantage of HTTP/2 is that it ensures that we can get the same benefit of compound data transfers in a completely transparent manner, without bothering to rearchitect how clients and servers operate.
Yea this assertion is spot-on, but sadly HTTP/2 still has enough overhead that if speed really is the most important requirement, compounding data is still better. I was hoping the difference would be at least smaller.
Re:Performance Testing HTTP/1.1 vs. HTTP/2 vs. HTTP/2 and Se...
by voidlogic on Thursday January 02, 2020 @05:00PM
(#21940377)
Also of note is having to terminate a single TCP/TLS connection per client vs one for every concurrent client request! Even if you are using a middle man like a CDN doing HTTP 1.1 pooling this is still reducing the established TCP/TLS connections by an order of magnitude or more.
That's because HTTP/2 auto-compounds multiple requests to send in the same connection, thus there is no surprise there.
The main advantage of HTTP/2 is that it ensures that we can get the same benefit of compound data transfers in a completely transparent manner, without bothering to rearchitect how clients and servers operate.
> Considering all the additional complexity that HTTP/2 introduces, that doesn't seem like any improvement.
This assertion completely misses the whole point of HTTP/2, and why it's a huge improvement over HTTP/1.1.