23 points · by chetanahuja · 11y ago · 13 comments
So would the same apply for HTTP/2.0 since they are so similar?
In summary, we deduce that SPDY loses its performance gains as a
website is sharded more. However, these negative results are not ubiquitous
and vary remarkably depending on the number of page resources. This
raises a few questions about SPDY deployment. Are the benefits enough for
designers and admins to restructure their websites to reduce sharding? What
about third party resources that cannot be consolidated, e.g. ads and social
media widgets? Can SPDY be redesigned to multiplex across domains? Is
proxy deployment [29] rewarding and feasible as a temporary solution? The
success of SPDY (and thereupon HTTP/2.0) is likely to be dependent on
the answers to precisely these questions.Opening all of those connections is also something of an anti-pattern even for HTTPS depending on how much data you're exchanging relative to the SSL handshake cost – see e.g.:
https://insouciant.org/tech/network-congestion-and-web-brows...
Moving forward to a time where the average webpage is 10-100megs in size[1] in around 5 to 10 years time, SPDY will be the bottleneck, not the network or serving infrastructure.
Of course five to ten years is about the time that HTTP 2 will start to see wide spread adoption.....
Multiplexed TCP is just not a good idea for high bandwith, low latency file delivery. (HTTP is basically a very wordy file system interface)
If you look at any of the systems for moving files about, they all either use a custom UDP protocol, or many streams of TCP. (or rely on being in a LAN)
[1]http://www.websiteoptimization.com/speed/tweak/average-web-p...
Yeah, that's why the next step after SPDY/HTTP2 adoption is QUIC, which moves the web to UDP, and solves the head-of-line blocking.
That sounds like it'd just cause more congestion and dropped packets if not used carefully - and they'll eventually end up reinventing TCP on top of UDP...
According to that link, the page sizes fortunately seem to be leveling off after a rather sharp jump between 2012 and 2014 (I wonder what happened there... a large increase in SPAs?) so I don't think they'll get that big in the near future - nor would it be a good thing if they did.