知识卡片
库版本需要退出策略
显式绑定版本使急需新规则的服务可先升级,其他服务保留兼容版本。不同库变化速度不同:稳定库保留少量版本通常足够,频繁变化库若同样只保留两三版会造成升级震荡。定制淘汰策略更贴合负载却增加治理;统一策略简单却可能频繁逼迫回归。严重缺陷仍可能要求全体立刻升级;依赖LATEST会令紧急修复夹带未知变更。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 复用模式 · 查看原书依据
Because change is variable among the various shared libraries, the global deprecation strategy, while simpler, is a less effective approach. The global deprecation strategy dictates that all shared libraries, regardless of the rate of change, will not support more than a certain number of backward versions (for example, four). While this is easy to maintain and govern, it can cause significant churn--the constant retesting and redeploying of services—just to maintain compatibility with the latest version of a frequently changed shared library. This can drive teams crazy and significantly reduce overall team velocity and productivity.