← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4366.b.2.c

排队不能消除服务瓶颈

理解等级:中级

当下游吞吐量固定、上游高峰请求更多时,异步队列只能形成背压点,防止请求瞬间压垮接口;如果持续到达速率仍超过处理速率,排队时间会增长,用户仍可能超时。原书护士热线教学例的外部诊断引擎每秒约能处理500个请求,团队发现只加队列仍不能解决护士和自助患者的等待时间。容量和时延必须分别检查。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Analyzing Architecture Risk · 查看原书依据

      While this is a good practice, it still doesn’t quite mitigate all the risk: nurses and self-service patients will still be waiting too long for responses from the Diagnostics Engine, and their requests will likely time out.

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第22章《Analyzing Architecture Risk》(阅读计划第26项,单元11;源文件:`OEBPS/ch22.html`) - 结论依据:原文在约500请求/秒的案例中明确指出加异步队列形成背压后仍会等待过久并可能超时。 - 原始内容:While this is a good practice, it still doesn’t quite mitigate all the risk: nurses and self-service patients will still be waiting too long for responses from the Diagnostics Engine , and their requests will likely time out.