知识卡片
多版本并行须管理交互
滚动发布时,同一客户端的多次请求可能由不同版本处理,产生时序行为不一致;新旧接口不兼容则会误解调用。需中介或路由管理版本配对,并尽可能扩展接口而保留既有语义。独立部署不是无约束发布,兼容策略应作为架构的一部分。
相关:[[分批投放限制缺陷暴露]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 可部署性 · 查看原书依据
Having multiple versions of the same service in operation, however, may introduce version incompatibilities. In such cases, the interactions between services need to be mediated so that version incompatibilities are proactively avoided.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第5章《可部署性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch05.html)
- 结论依据:原文的定义、机制或比较支持“滚动发布时,同一客户端的多次请求可能由不同版本处理,产生时序行为不一致;新旧接口不兼容则会误解调用”;正文保留其条件与取舍。
- 原始内容:Having multiple versions of the same service in operation, however, may introduce version incompatibilities. In such cases, the interactions between services need to be mediated so that version incompatibilities are proactively avoided.