← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1959.i.1

组件尺寸阈值随系统变化

理解等级:高级

尺寸治理既可检查语句占全库比例,也可检查距平均数多少个标准差,发现新增、过大或异常小的组件后提醒架构师。百分比阈值应随组件总数选择,10个组件时30%与50个组件时10%只是本书示例,不是通用红线;数值异常是调查信号,不是自动决定拆分。

相关:[[用语句量识别组件异常]]。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 基于组件的分解模式 · 查看原书依据

      As mentioned earlier in this chapter, the threshold percentage value will vary depending on the size of the application, but should be set so as to identify significant outliers. For example, for a relatively small application with only 10 components, setting the percentage threshold to something like 30% would sufficiently identify a component that is too large, whereas for a large application with 50 components, a threshold of 10% would be more appropriate.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第5章《基于组件的分解模式》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch05.xhtml) - 结论依据:原文的定义、比较或案例支持“尺寸治理既可检查语句占全库比例,也可检查距平均数多少个标准差,发现新增、过大或异常小的组件后提醒架构师”;正文据此解释其用途与适用边界。 - 原始内容:As mentioned earlier in this chapter, the threshold percentage value will vary depending on the size of the application, but should be set so as to identify significant outliers. For example, for a relatively small application with only 10 components, setting the percentage threshold to something like 30% would sufficiently identify a component that is too large, whereas for a large application with 50 components, a threshold of 10% would be more appropriate.