当前位置:网站首页>【无标题】
【无标题】
2022-06-23 13:12:00 【IT枫斗者】
RPC
概述
RPC(Remote Procedure Call),即远程过程调用,它是一种通过网络从远程计算机程序 上请求服务,而不需要了解底层网络实现的技术。常见的 RPC 框架有: 源自阿里的 Dubbo,Spring 旗下的 Spring Cloud,Google 出品的 grpc 等等。

服务消费方(client)以本地调用方式调用服务
client stub 接收到调用后负责将方法、参数等封装成能够进行网络传输的消息体
client stub 将消息进行编码并发送到服务端
server stub 收到消息后进行解码
server stub 根据解码结果调用本地的服务
本地服务执行并将结果返回给 server stub
server stub 将返回导入结果进行编码并发送至消费方
client stub 接收到消息并进行解码
服务消费方(client)得到结果
RPC 的目标就是将这些步骤都封装起来,用户无需关心这些细节,可以像调用本地方法一样即可完成远程服务调用
边栏推荐
- Use openvinotm preprocessing API to further improve the reasoning performance of yolov5
- 【课程预告】基于飞桨和OpenVINO 的AI表计产业解决方案 | 工业读表与字符检测
- Learning experiences on how to design reusable software from three aspects: class, API and framework
- In flinksql, the Kafka flow table and MySQL latitude flow table are left joined, and the association is made according to I'd. false
- Runtime application self-protection (rasp): self-cultivation of application security
- Service stability governance
- 64 channel PCM telephone optical transceiver 64 channel telephone +2-channel 100M Ethernet telephone optical transceiver 64 channel telephone PCM voice optical transceiver
- OS的常见用法(图片示例)
- 实战监听Eureka client的缓存更新
- leetcode:42. Rain water connection
猜你喜欢

『忘了再学』Shell流程控制 — 39、特殊流程控制语句

618的省钱技术攻略 来啦 -体验场景 领取10元猫超卡!

Proofs of Elsevier Elsevier Journal (Neptune Neptune) (problems encountered: latex remove the chapter number)

How to use androd gradle module dependency replacement

Go写文件的权限 WriteFile(filename, data, 0644)?

Monitor the cache update of Eureka client

#云原生征文#深入了解Ingress

quartus调用&设计D触发器——仿真&时序波验证

Windows install MySQL

How do I turn on / off the timestamp when debugging the chrome console?
随机推荐
Use openvinotm preprocessing API to further improve the reasoning performance of yolov5
What a talented company that can turn SAP system into a chicken rib!
How do I turn on / off the timestamp when debugging the chrome console?
串口、COM、UART、TTL、RS232(485)区别详解
如何打开/关闭chrome控制台调试时的时间戳?
You call this shit MQ?
In flinksql, the Kafka flow table and MySQL latitude flow table are left joined, and the association is made according to I'd. false
The redis keys command should be used with caution in the production environment. It is best to shield it
Gary Marcus wrote: three perspectives from linguists that AI researchers need to know
Cifar announces the second stage pan Canadian AI strategy
AAIG看全球6月刊(上)发布|AI人格真的觉醒了吗?NLP哪个细分方向最具社会价值?Get新观点新启发~
白皮书丨英特尔携手知名RISC-V工具提供商Ashling,着力扩展多平台RISC-V支持
Germancreditdata of dataset: a detailed introduction to the introduction, download and use of germancreditdata dataset
面向 PyTorch* 的英特尔 扩展助力加速 PyTorch
Tuikit audio and video low code solution navigation page
Best practices for auto plug-ins and automatic batch processing in openvinotm 2022.1
AI 参考套件
从类、API、框架三个层面学习如何设计可复用软件的学习心得
.Net怎么使用日志框架NLog
Common usage of OS (picture example)