知识卡片
RPC便利不能抹平远程边界
RPC把过程调用编码成网络请求,在远端执行并回传结果,方便以熟悉形式编程。同步等待、异步、流式、取消和超时等交互仍需由接口明确。远程失败、延迟与不可用和本地调用不同,不能因调用语法相似就忽略它们;具体gRPC能力以所用版本和绑定核验。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 软件接口 · 查看原书依据
the call is then translated into a message sent to a remote element where the actual procedure is invoked. Finally, the results are sent back as a message to the calling element.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第15章《软件接口》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch15.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:the call is then translated into a message sent to a remote element where the actual procedure is invoked. Finally, the results are sent back as a message to the calling element.