知识卡片
部署位置改变质量属性权衡
同一服务设计换个部署位置,运行结果可能变化。原书指出,跨区域或可用区部署会改变复制缓存的性能与数据完整性收益;把服务容器集中到同一虚拟机可能提高局部性能,却削弱故障隔离和弹性。因此部署方案要连同延迟、同步、容量和故障域一起验证,不能只按单一指标优化。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Architectural Intersections · 查看原书依据
Similarly, co-locating services, containers, or even Kubernetes Pods on the same virtual machine will significantly increase performance, but it will also adversely impact scalability, fault tolerance, availability, and elasticity.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第26章《Architectural Intersections》(阅读计划第30项,单元06;源文件:`OEBPS/ch26.html`)
- 结论依据:原书比较跨区缓存部署与同机共置服务两种情境,说明基础设施位置会改变性能、数据完整性及容错等权衡;验证维度是应用推断。
- 原始内容:Similarly, co-locating services, containers, or even Kubernetes Pods on the same virtual machine will significantly increase performance, but it will also adversely impact scalability, fault tolerance, availability, and elasticity.