知识卡片
架构特征应按代价选最少集合
每支持一项架构特征,都需要设计、实现、维护,有时还要额外结构;特征之间也会相互影响。原书以加强安全可能增加运行期开销为例,说明无法同时最大化所有指标。
因此应选对当前业务成功关键的最少集合,明确取舍,并让架构便于迭代。原书称目标为“最不差的架构”:接受现有约束下的代价,随证据变化调整,而非追求包揽一切的通用结构。与[[架构权衡需反复评估]]相连。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Architectural Characteristics Defined · 查看原书依据
Each supported characteristic requires design effort from the architect, effort from developers to implement and maintain it, and perhaps structural support.
参考来源
- 位置:《Fundamentals of Software Architecture》第06章《Architectural Characteristics Defined》(源文件:`OEBPS/ch04.html`,Architectural Characteristics and System Design、Trade-Offs and Least Worst Architecture)
- 结论依据:原文指出每项特征都增加复杂度、支持特征有成本且会彼此作用,并主张选择最少关键特征与可迭代的“least worst”架构。
- 原始内容:Each supported characteristic requires design effort from the architect, effort from developers to implement and maintain it, and perhaps structural support.