知识卡片
服务契约版本会产生维护负担
服务接口字段变化时,可保留新旧契约版本以便调用方迁移,但必须决定按服务还是全系统版本化、并行维护多少版本、谁何时停止支持旧版。版本化是演进手段,不是无成本开关;若长期不淘汰,兼容路径会累积。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Foundations · 查看原书依据
versioning is a reasonable approach for evolving communication between services, it has a host of trade-offs
参考来源
- 位置:《Fundamentals of Software Architecture》第12章《Foundations》(源文件:`OEBPS/ch09.html`)
- 结论依据:原文列出版本范围、并行数量和废弃策略等具体权衡。
- 原始内容:versioning is a reasonable approach for evolving communication between services, it has a host of trade-offs