Latency Sneaks Up on You
21–27 of 27 posts
Re: Latency Sneaks Up on You
#22Mostly a reminder/clarification of things I knew, but a good and welcome one well-stated, because I probably sometimes forget. (I don't do performance work a lot). But this: > If you must use latency to measure efficiency, use mean (avg) latency. Yes, average latency Not sure if I ever thought about it before, but after following the link[1] where OP talks more about it, they've convinced me. Definitely want mean lat…
> at least in addition to median There was an interesting article here not long ago that made the point that median is basically useless. If you load 5 resources on a page load, the odds of all of them being faster than the median (so it represents the user experience) is about 3%. You need a very high rank to get any useful information, probably with a number of 9s.
Re: Latency Sneaks Up on You
#23Mostly a reminder/clarification of things I knew, but a good and welcome one well-stated, because I probably sometimes forget. (I don't do performance work a lot). But this: > If you must use latency to measure efficiency, use mean (avg) latency. Yes, average latency Not sure if I ever thought about it before, but after following the link[1] where OP talks more about it, they've convinced me. Definitely want mean lat…
> If we're expecting 10 requests per second at peak this holiday season, we're good. Problem is, sometimes system engineers do not know what to expect, but they still need to have a plan for this case.
Re: Latency Sneaks Up on You
#24Great article, and a line of reasoning that ought to be more widely known. There is a similar tradeoff between latency and utilization in hash tables, for essentially the same reason. The phenomenon described by the author can lead to interesting social dynamics over time. The initial designer of a system understands the latency/utilization tradeoff and dimensions the system to be underutilized so as to meet latency…
Re: Latency Sneaks Up on You
#25Re: Latency Sneaks Up on You
#26Earlier quoted context omitted.
> at least in addition to median There was an interesting article here not long ago that made the point that median is basically useless. If you load 5 resources on a page load, the odds of all of them being faster than the median (so it represents the user experience) is about 3%. You need a very high rank to get any useful information, probably with a number of 9s.
Median for a particular action/page might be more useful.
Th real median is just very hard to measure, and an easier 99.99 (with more 9's as needed) rank is almost as good.
Re: Latency Sneaks Up on You
#27Earlier quoted context omitted.
Median for a particular action/page might be more useful.
No doubt about that (even then, you will probably want the 90 or 99 percentile, depending on how many interactions you expect a person to have). Th real median is just very hard to measure, and an easier 99.99 (with more 9's as needed) rank is almost as good.