← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2299.h.1

接口距离包含五个维度

理解等级:中级

接口差异不止类型:语法距离包括字段数量和类型;数据语义距离包括米与英尺等解释;行为距离包括模式与谁先发起;时间距离包括速率、先后和允许延迟;资源距离包括独占假设和容量竞争。三份各3Mbps数据流放进5Mbps链路即使API完全一致也无法满足需求。分析须逐维核对,不能只靠编译通过。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可集成性 · 查看原书依据

      For integrability purposes, “interfaces” must be understood as much more than simply APIs. They must characterize all of the relevant dependencies between the elements. When trying to understand dependencies between components, the concept of “distance” is helpful.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第7章《可集成性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch07.html) - 结论依据:原文的定义、机制或比较支持“接口差异不止类型:语法距离包括字段数量和类型;数据语义距离包括米与英尺等解释;行为距离包括模式与谁先发起;时间距离包括速率、先后和允许延迟;资源距离包括独占假设和容量竞争”;正文保留其条件与取舍。 - 原始内容:For integrability purposes, “interfaces” must be understood as much more than simply APIs. They must characterize all of the relevant dependencies between the elements. When trying to understand dependencies between components, the concept of “distance” is helpful.