Loading 180 tiled images with HTTP/2 vs. HTTP/1
http2.golang.org
Loading 180 tiled images with HTTP/2 vs. HTTP/1
1–10 of 57 posts
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#2Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#3Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#4Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#5Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
This test case shows that the performance is better with the same code. The invert test case would show that the code is more complex (because of sharding) for the same performance (actually not quite, because of multiple handshakes).
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#6Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
Good point, but domain sharding is just a clever optimization (hack) to emulate some of the parallelism provided by HTTP/2 out of the box.
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#7Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
Good point, but domain sharding is just a clever optimization (hack) to emulate some of the parallelism provided by HTTP/2 out of the box.
Of course, the hackiness of X-as-practiced is a valid point of qualitative comparison and should indeed be brought up.
[1] Ok, I'm exaggerating a little. It's not quite "never", but most large sites where image loading time is an issue are using some form of workaround, be it spriting, multiple domains, or something else.
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#8Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
Adding a third option with domain sharing might be reasonable, but I would expect that http2 still has the best performance.
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#9Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#10Wouldn't a more fair comparison involve domain sharding for the HTTP/1 impl?
Good point, but domain sharding is just a clever optimization (hack) to emulate some of the parallelism provided by HTTP/2 out of the box.