← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3285.a

适应度函数持续检验架构

理解等级:中级

架构适应度函数把可靠性、性能、安全等目标转成可量化的检查,纳入构建或验证流水线,持续发现架构退化。可用 ADR 记录为何选择这些检查及难逆的权衡;记录解释目标,自动检查验证目标,二者都不能保证指标与真实风险永远一致。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      fitness functions is a mechanism that provides a constant interrogation of the system architecture and code artifacts that make up the system. Think of a function as a sort of unit/integration test for architecture, assessing the “ilities” of the architecture in a quantifiable metric. A fitness function is included into the build pipeline to help provide a constant assurance of the goals for the system.

    参考来源

    - 位置:《Mastering API Architecture》第8章《Redesigning Applications to API-Driven Architectures》之《Using Fitness Functions》(源文件:_epub-src/OEBPS/ch08.xhtml) - 结论依据:原文把适应度函数比作架构的单元或集成测试,并要求放入构建流水线持续检验目标;同节紧接着建议为拟引入的适应度函数创建 ADR,并说明难逆决定应谨慎处理。ADR 的一般用途另见导言卡《ADR保留决策依据》。 - 原始内容:fitness functions is a mechanism that provides a constant interrogation of the system architecture and code artifacts that make up the system. Think of a function as a sort of unit/integration test for architecture, assessing the “ilities” of the architecture in a quantifiable metric. A fitness function is included into the build pipeline to help provide a constant assurance of the goals for the system.