知识卡片

普通读书笔记卡 · 1841.h.1.a.2.d

影子执行保持行为保真

理解等级:高级

替换遗留功能时让旧实现和候选实现并行,对比输出及耗时,同时继续把旧结果返回用户,可把旧系统变成一致性参照。必须核实候选执行的副作用与成本是否隔离;框架吞掉异常并不等于没有外部影响,旧结果也不自动等于业务正确。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Automating Architectural Governance · 查看原书依据

      A fidelity fitness function allows for a side-by-side comparison between old and new. During the replacement process, both systems run in parallel, and a proxy allows teams to call old, new, or both in a controlled way until the team has ported each bit of discrete functionality. Some teams resist building such a mechanism because they realize the complexity of partitioning the old behavior and

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第04章《Automating Architectural Governance》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch04.html;段落定位:A fidelity fitness function allows for a side-by-side comparison) - 结论依据:原文对“影子执行保持行为保真”的定义或案例,支撑“替换遗留功能时让旧实现和候选实现并行,对比输出及耗时,同时继续把旧结果返回用户,可把旧系统变成一致性参照”的归纳。据其上下文,必须核实候选执行的副作用与成本是否隔离;框架吞掉异常并不等于没有外部影响,旧结果也不自动等于业务正确。 - 原始内容:A fidelity fitness function allows for a side-by-side comparison between old and new. During the replacement process, both systems run in parallel, and a proxy allows teams to call old, new, or both in a controlled way until the team has ported each bit of discrete functionality. Some teams resist building such a mechanism because they realize the complexity of partitioning the old behavior and