知识卡片

普通读书笔记卡 · 5381.b.2.a

先调单服务再扩宏观架构

理解等级:高级

发现吞吐不足时,应先确认少数关键服务能否通过局部调优满足目标,再增加宏观分片和协调。单服务可能主要被锁、池、外部调用或数据搬运限制,增加副本不一定消除根因。团队若采用复杂事件或阶段模型,应具备并发与硬件经验;书中TPS变化是说明决策空间的假设例,不能当作未经测量的性能预计。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 服务端架构 · 查看原书依据

      Third, when a service is the bottleneck, detailed tuning can sometimes lead to major improvements. It’s an error to scale the macro architecture before tuning the server architecture to achieve maximum performance.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第11章《Server Architectures》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch11.xhtml) - 结论依据:摘录说明发现吞吐不足时,应先确认少数关键服务能否通过局部调优满足目标,再增加宏观分片和协调。其余条件结合本章相邻例子与取舍说明,数字示例不作当前性能承诺。 - 原始内容:Third, when a service is the bottleneck, detailed tuning can sometimes lead to major improvements. It’s an error to scale the macro architecture before tuning the server architecture to achieve maximum performance.