3 ms·
For example, in a user session with 5 page views that load 40 resources per page, how many users will not experience worse than 95%’ile of HTTP requests
by jefftk 11y ago
For example, in a user session with 5 page views that
load 40 resources per page, how many users will not
experience worse than 95%’ile of HTTP requests? The
chances of not seeing it is ~.003%.
This is assuming complete independence, which is very wrong.
- ma2rten 11y agoThis! Especially the example of Google and Amazon is misleading. Most of those requests are assets which are loaded from a CDN, which is highly reliable compared to the application code.
- ninjakeyboard 11y agoFor sure - we are concerned w/ the API times. I'm not sure I agree w/ this article.
- chetanahuja 11y agoNot to mention, accurately measuring independent download times on a web page (or a native app screen) with 40 assets is next to impossible because of the overlapping request, persistent connections and all sorts of other confounding factors. The actual latency you should measure for such a download is the total time taken to get to a usable view for the user. How to do that is left as an exercise for the reader ;-)
- Arnt 11y agoYou mean that the <95% requests will tend to go to the same few users? If half of them go to a few unlucky users and half go to scattered users, the chance is of avoiding a <95% request is 0.6% for the lucky users and 0 for the unlucky ones. This share is a bit unrealistic — who will go on for five whole page views if performance is that bad? But it doesn't matter, 99.4% or 99.997% both mean "practically all users experience slow requests".
- sulam 11y agoSo, he is using an example of traditional media-heavy web sites in this specific case, but the general case still holds for many web applications such as: - Google (you hit many search nodes to get the results for a single search, and Google goes to some effort to make sure you get back both accurate and fast responses) - Facebook (there are many distinct services that have to be queried to render any FB page) - YouTube (union of the above) - etc Now, I hope the engineers building these sites understand the points he is making, but they stand true either way.