知识卡片

普通读书笔记卡 · 3391

生产实验先限制影响范围

理解等级:高级

生产测试应先规定受影响用户、回滚和观测边界。暗池、边缘路由及 beta 用户可把真实环境验证限制在零或很小比例的真实流量上。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第7章《Proper Service Testing》(源文件:`_epub-src/OPS/ch07.xhtml`,归一化正文 [46164:50364)) - 结论依据:原文用 live/dark 池、路由和 beta 用户说明如何控制生产试验范围。 - 原始内容:Testing in production does not mean affecting all your users by any means. No sense in testing failure scenarios on 100% of your users, when 1% or less will do fine. One common technique to limit impact is by deploying software using Red/Black or Blue/Green deployments, where you have 2 clusters in production but only one actively serving most or all traffic; also known as Active/Passive or Live/Dark pool deployments.