知识卡片

普通读书笔记卡 · 2281.n.12.a

影子运行与状态再同步

理解等级:中级

修复或升级后的组件先影子运行,可观察正确性并逐步补状态,再恢复主动职责。主动冗余中多个副本处理相同输入,并比较状态;被动冗余则由主动方向备用传检查点。重新加入不仅是恢复进程,还需确认状态兼容和行为可信,否则可能把旧状态重新带回系统。

相关:[[检查点支持回滚与接替]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可用性 · 查看原书依据

      Shadow. This tactic refers to operating a previously failed or in-service upgraded component in a “shadow mode” for a predefined duration of time prior to reverting the component back to an active role. During this duration, its behavior can be monitored for correctness and it can repopulate its state incrementally.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html) - 结论依据:原文的定义、机制或比较支持“修复或升级后的组件先影子运行,可观察正确性并逐步补状态,再恢复主动职责”;正文保留其条件与取舍。 - 原始内容:Shadow. This tactic refers to operating a previously failed or in-service upgraded component in a “shadow mode” for a predefined duration of time prior to reverting the component back to an active role. During this duration, its behavior can be monitored for correctness and it can repopulate its state incrementally.