知识卡片
尾延迟会在链路放大
分位数描述分布中的位置,例如p99为99%观测值不超过的延迟阈值。平均值会掩盖长尾,而一次用户体验若需多个请求共同完成,就更容易碰到至少一个慢请求。必须注明统计的是单次调用还是端到端操作,单服务p99不能直接当作整条链路p99。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 2. Important Distributed System Concepts · 查看原书依据
most user experiences are the combination of multiple requests which must succeed. The combining of all of these experiences means that almost no one actually has an “average” experience in terms of latency; instead, the probability that every user has at least one exceptionally slow request rapidly approaches
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第02章《Chapter 2. Important Distributed System Concepts》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch02.html)
- 结论依据:原文解释组合请求使单次尾部进入常见端到端体验;未把书中均值偏差例子推广成普遍数学结论。
- 原始内容:most user experiences are the combination of multiple requests which must succeed. The combining of all of these experiences means that almost no one actually has an “average” experience in terms of latency; instead, the probability that every user has at least one exceptionally slow request rapidly approaches