← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2081.b.11.a.1

节流把服务留在有效区间

理解等级:高级

节流器在服务前观察请求,判断哪些可接纳,避免需求波动把资源推入过载。它自身也在路径上,判断需快速;若需求长期超容量,只能扩大缓冲、明确丢弃或增加能力。既有紧耦合客户端可能难以接受新的拒绝和等待语义,因此节流并非只加一个组件。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 性能 · 查看原书依据

      The throttling pattern is a packaging of the manage work requests tactic. It is used to limit access to some important resource or service. In this pattern, there is typically an intermediary—a throttler—that monitors (requests to) the service and determines whether an incoming request can be serviced.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第09章《性能》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch09.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:The throttling pattern is a packaging of the manage work requests tactic. It is used to limit access to some important resource or service. In this pattern, there is typically an intermediary—a throttler—that monitors (requests to) the service and determines whether an incoming request can be serviced.