← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3352.f

选项价值需要概率与成本

理解等级:高级

提前获得可移植性等选项要付确定成本,晚做则承担有概率发生的返工。书中假设早做跨云使成本成为150%,不早做时基准100%加10%概率乘250%的额外迁移工作,期望为125%;在该假设下接受单云更划算。接口与抽象也同理:为延迟决定购买选项,会带来层次、性能和维护成本,不能因为能解耦就无限叠加。概率、工作量和时间窗变了,结论也会变,不能把例子当迁云报价。

相关:[[架构策略服从长期收益]]。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 理解系统设计与架构 · 查看原书依据

      However, if we choose to not be portable, then there is a 10% chance that we will have to port later. Let’s assume that to port later we have to do 250% more work. Then, the expected cost of not being portable is (100% + 250 * 10%) = 125%, which suggests that we should go with the nonportable choice.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第2章《理解系统设计与架构》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch02.xhtml) - 结论依据:原文的定义、比较或例子支持“提前获得可移植性等选项要付确定成本,晚做则承担有概率发生的返工”;正文据此说明用途和边界。 - 原始内容:However, if we choose to not be portable, then there is a 10% chance that we will have to port later. Let’s assume that to port later we have to do 250% more work. Then, the expected cost of not being portable is (100% + 250 * 10%) = 125%, which suggests that we should go with the nonportable choice.