知识卡片
微服务性能受跨网协作制约
微服务的独立部署有利于扩缩与演进,但一个请求若穿过多个服务,就叠加网络往返、端点身份与权限检查,以及各服务数据库访问的等待。原书因此把性能列为常见代价,并提到缓存、数据复制等缓解手段。应按实际调用链与延迟目标评估,不能由服务数量直接推断某个系统的响应时间。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Microservices Architecture · 查看原书依据
Distributed architectures must make many network calls to complete work, and that has a high performance overhead.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第18章《Microservices Architecture》(阅读计划第21项,单元18;源文件:`OEBPS/ch18.html`)
- 结论依据:原书逐项说明跨网调用、安全校验和跨服务数据访问的延迟,并提到缓存与复制;末句是测量边界。
- 原始内容:Distributed architectures must make many network calls to complete work, and that has a high performance overhead.