← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 2340.d.1

扩容与均衡需匹配工作量

理解等级:高级

纵向扩容给单实例更多资源,简单但有规格上限;横向扩容加副本并分发请求。轮询只在请求消耗近似时均匀分担资源,异质请求要看实际负载。均衡器本身也可能过载形成单点,必要时层级或复制;客户端看到稳定入口不表示后端容量与故障从此不用治理。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 云与分布式计算 · 查看原书依据

      This algorithm balances the load uniformly across the service instances only if every request consumes roughly the same resources in its response. Other algorithms for distributing the messages exist for cases where the resource consumption needed to process requests varies.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第17章《云与分布式计算》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch17.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:This algorithm balances the load uniformly across the service instances only if every request consumes roughly the same resources in its response. Other algorithms for distributing the messages exist for cases where the resource consumption needed to process requests varies.