← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3246

分布式调用须承认网络限制

理解等级:中级

服务拆分后,网络不会天然可靠、零延迟、无限带宽或始终安全,拓扑和管理边界也会变化。设计服务间 API 时,应把超时、失败、身份和运维边界作为显式条件,而不是沿用进程内调用的默认假设。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      The network is reliable Latency is zero Bandwidth is infinite The network is secure Topology doesn’t change There is one administrator Transport cost is zero The network is homogeneous Peter and team state that these fallacies “all prove to be false in the long run and all cause big trouble and painful learning experiences.” Engineers cannot just ignore these issues; they have to explicitly deal with them.

    参考来源

    - 位置:《Mastering API Architecture》第4章《Service Mesh: Service-to-Service Traffic Management》之《Early History and Motivations》(源文件:_epub-src/OEBPS/ch04.xhtml) - 结论依据:原文列出分布式计算八项错误假设,并强调工程师必须显式处理这些问题。 - 原始内容:The network is reliable Latency is zero Bandwidth is infinite The network is secure Topology doesn’t change There is one administrator Transport cost is zero The network is homogeneous Peter and team state that these fallacies “all prove to be false in the long run and all cause big trouble and painful learning experiences.” Engineers cannot just ignore these issues; they have to explicitly deal with them.