知识卡片
蓝绿与金丝雀控制变更影响
蓝绿准备新旧两套应用,验证后切流并保留旧版;金丝雀先让少量真实流量使用新版,逐步扩大。两者减少错误的影响面,也帮助发现测试环境没暴露的问题。书中让两套应用共用数据库以避免快速同步难题,因此数据库兼容和写入副作用仍需单独处理;切流并非任意状态的无成本撤销。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 构建稳定系统 · 查看原书依据
Canary deployments are the next evolution of this model. A canary deployment lets us test the new system under realistic conditions and switch to contain the impact of a potential failure.
参考来源
- 位置:《Software Architecture and Decision-Making》第12章《Building Stable Systems》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch12.xhtml)
- 结论依据:摘录说明蓝绿准备新旧两套应用,验证后切流并保留旧版;金丝雀先让少量真实流量使用新版,逐步扩大。其余条件结合本章相邻例子与取舍说明,数字示例不作当前性能承诺。
- 原始内容:Canary deployments are the next evolution of this model. A canary deployment lets us test the new system under realistic conditions and switch to contain the impact of a potential failure.