知识卡片
RPC按过程调用远端能力
远程过程调用让客户端像调用函数一样指定远端方法及参数,由服务端执行并返回结果。它简化了动作型接口,但客户端会依赖方法名和签名;修改远端接口时需检查调用方兼容性。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Microservice APIs》附录 A《Types of web APIs and protocols》(源文件:_epub-src/OEBPS/Text/A.htm)
- 结论依据:原文定义 RPC 是跨机器调用过程,并指出方法签名耦合风险。
- 原始内容:a remote procedure call (RPC) is a protocol that allows a client to invoke a procedure or subroutine in a different machine. The origins of this form of communication go back to the 1980s, with the emergence of distributed