知识卡片
有状态系统渐进发布
有状态系统渐进发布须整体考虑数据层。案例:支付系统新功能发布中错误率随发布比例上升,团队回滚后错误率却飙到 100%——因更新预先改了数据格式,旧二进制无法解析已写入的新格式日志;若让发布完成反而没事。教训:回滚要涵盖所有参与组件(尤其数据层);安全做法是先完成“读新格式”的渐进发布,再开始“写新格式”。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 发布
原书出处 · 1 处
- Introduction · 查看原书依据
The errors occurred when a newer component wrote a log that happened to be picked up by an older binary, as happened during the rollout. A rollback removed the ability to correctly process the new format logs that had already been written.
参考来源
- 位置:《Reliable Machine Learning》第01章《Introduction》(源文件:extracted/Reliable Machine Learning/_epub-src/OEBPS/ch01.xhtml)
- 结论依据:原文用支付系统事故说明回滚未考虑数据格式会导致更糟结果。
- 原始内容:The errors occurred when a newer component wrote a log that happened to be picked up by an older binary, as happened during the rollout. A rollback removed the ability to correctly process the new format logs that had already been written.