14 points · by elgatito · 3y ago · 32 comments
I am familiar with the hypothetical advantages and with the synthetic benchmarks, but does this really translate into noticable, real-world differences in browsing experience?
IMHO it does not. I've had my browser configured for HTTP 1.1 now for months and enabled HTTP 2 and 3 for the past few days, but cannot say there was mentioned noticable difference in how fast sites were loading.
Did I miss anything? Did you notice a significant speedup when you switched to HTTP 2? Please only your real-world experience, as mentioned I know it can have better performance in synthetic benchmarks.
Hard NACK, absolutely not.
Noticeable is not relevant. If there are a billion people who load 40 pages and each saves 2ms, we save 2.5 human years a day.
Http2 isn't even the good stuff. It still has horrible head of line blocking.
Where these protocols, http3 in particular, has real greatness is in it's ability to handle lossy & jittery connections. On http1 or http2 with a dodgy mobile connection, recovery from a missed packet or three can be egregiously painful. With http3 the bits can keep flowing.
In general I have high skepticism that you want to be convinced. This narrow on-guiderials "anecdote only" line of inquiry speaks to hang ups, about resistance to allowing progress. You are looking for personal annecodotes, talking about your experience, but I highly doubt humans have the mind to really be able to tell about very fine differences, but that doesn't invalidate time saved, as we load so many resources a year. Last, you likely have very fine internet connections where many of the overwhelmingly grand advantages don't come out.
That's as idiotic as saying "If a billion people take one less breath a day, humanity will consume 500,000,000,000 ml less air a day."
It doesn't mean anything.
That is such a b.s. metric! What exactly does that 2.5year translate to? Absolutley nothing! If not a single person can take advantage of it then you're just doing a bunch of busy work.
> but that doesn't invalidate time saved, as we load so many resources a year
Yes it does. I think what you meant is how some $bigcorp will save money,but even then , how?
I also dislike how you attempted to interpret OP's intentions. Just freaking give a real world example and that'll shut up anyone who can argue against your view point.
Noticeable is relevant. Either it is noticable faster or it isn't. In my experience it isn't, hence the question.
If you can convince me with a site where one can actually notice that, I'd be more than happy to change my stance, but multiplying 2 millisecond by X humans or using a kbps connection as baseline won't cut it I am afraid :)
As for your assumption on the Internet connection, we are talking about a mobile connection, so not exactly fiber :)
But I have spent some years of my life playing eSports shooters competitively and I can tell the difference between something happening in 150ms or 250ms and monitors below 120Hz make me uncomfortable. Some people, on the other hand, claim that cloud gaming has no perceivable input lag. So it depends on the person.
With that said, 1.1->3 should be perceivable for most people, I think. Head-of-line blocking is slowing things down significantly. HTTP/3 latency feels like browsing with UDP, which it is.
Of course, browsers do caching and pre-emptive loading, so the user experience in many cases will be the same. But when loading a website for the first time, or reading an article with many images for the first time, I think the difference in page load/draw times can be easily observed.
EDIT: On further investigation, it seems like 1.1->3 should be perceivable for most people if they are on poor quality connections, and if the website/web app is heavy. Looks like I fall into that bracket with some of my devices as I live in an ancient house with stone walls, the natural enemy of WiFi.
There's no meaningful performance target for websites. Instant would be great, and so for matters of debate, let's say that's the next vsync poll and go with the most common poll rate that exists today, ~16ms for 60hz monitors. Is that going to happen? No.
Since you don't know what the up/down speed is for any random given website, there's no way to know if what you're experiencing is just the server with a low upload speed to to your client, or the protocol itself.
And the Internet connection of the website itself, the language the web server is written in, the performance of the software in question, and other factors are going to have dramatically more impact than the protocol version in question.
You set an unreasonable arbitrary target and then say neither 1.1 nor 3 will reach it. Yes, I agree. But I don't understand how this is useful.
Cloudflare's QUIC test page gets drawn in about 200ms for me with HTTP/3, while it takes about 250ms to draw it with HTTP 1.1. 50ms is 2-3 frames on a v-synced 60Hz monitor.
I see the same "few frames quicker" effect on many basic websites that support HTTP/3, and much more significant changes on heavy websites or over poor infrastructure where head-of-line blocking can hurt more.
While I am not saying it might be to some extent subjective, I cannot say I have noticed anything noticably different between and 1.1 and 2 or 3. For that reason I'd be curious on which site that would be noticable.
I just ran a test with HTTP 1.1 and HTTP 3 - and in both cases, it took about 10 seconds until the whole page was loaded. It was already usable earlier than that, but even that was similar between 1.1 and 3.
The test was done on a "regular" Wifi connection.
So no, I don't think anything meaningful has arrived in terms of performance, otherwise we'd all be singing its praises.
Rest In Peace, HTTP/2 Server Push.
The issue with HTTP/2 is that it complicates the stack: ideally one would support either HTTP/2 or HTTP/3 but there's little point in supporting both, since you always have HTTP 1.1 to fall back to. HTTP/3 offers best performance, HTTP/1 best compatibility, HTTP/2... doesn't offer that much in comparison.
Switching from HTTP to WebSockets across the board increased the test automation in my app 7x. This also simplified a massive amount of administration and maintenance in my application regarding micro services.
HTTP2 is better than HTTP for downloading many assets simultaneously, but if you want your web application to be fast you need to bundle assets as much as possible there are fewer things to need in parallel.