← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 7943.b.1 · 生成模型:未记录

延迟分位数看慢请求

理解等级:中级

p90 为 250 ms 表示约九成请求在 250 ms 内完成,剩下约一成更慢。在网关按端点观测分位数能发现均值掩盖的慢点;从多个地区以外部探针测量,可把 DNS、连接、握手和服务处理时间都纳入用户视角。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 监测 API 产品与运行表现 11.2 API monitoring metrics · 查看原书依据

      Request latency is usually measured at the gateway level in a microservice architecture. But showing just the average latency of requests across all endpoints can hide poorly performing endpoints. Therefore, it’s useful to show a breakdown of latencies per endpoint and also present data as percentiles, as shown in figure 11.26.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 11 章 监测 API 产品与运行表现》(11.2 API monitoring metrics;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-11.xhtml#p173) - 结论依据:原文说明平均值会遮住某些端点差异,建议按端点列分位数。 - 原始内容:Request latency is usually measured at the gateway level in a microservice architecture. But showing just the average latency of requests across all endpoints can hide poorly performing endpoints. Therefore, it’s useful to show a breakdown of latencies per endpoint and also present data as percentiles, as shown in figure 11.26.