知识卡片
逐个消除瓶颈直到达标
先通过观测定位限制吞吐的组件,再用替换为模拟结果等方式验证移除它是否改变上限,然后针对该瓶颈改善。可增加单机资源、复制或改算法,但方法取决于瓶颈类型。修复后重新测量,下一瓶颈可能转移到IAM、库存或支付外部接口,持续到目标而非一味追求极限。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 高可用与扩展 · 查看原书依据
When we identify the bottleneck, we can verify that by bypassing the bottleneck (replacing it with a service that responds with mock results, for example) and checking the scalability limits without the bottleneck.
参考来源
- 位置:《Software Architecture and Decision-Making》第09章《高可用与扩展》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch09.xhtml)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:When we identify the bottleneck, we can verify that by bypassing the bottleneck (replacing it with a service that responds with mock results, for example) and checking the scalability limits without the bottleneck.