从零开始实现RPC框架 - RPC原理及实现

来源:互联网 发布:淘宝如何代理话费 编辑:程序博客网 时间:2024/06/07 00:29

概述

RPC即是远程过程调用(Remote Procedure Call),允许一台计算机调用另一台计算机上的程序得到结果,而代码中不需要做额外的编程,就像在本地调用一样。

RPC基本流程

RPC基本流程图:
这里写图片描述

开源的优秀RPC框架

阿里巴巴 Dubbo:https://github.com/alibaba/dubbo
新浪微博 Motan:https://github.com/weibocom/motan
gRPC:https://github.com/grpc/grpc
rpcx :https://github.com/smallnest/rpcx
Apache Thrift :https://thrift.apache.org/

0 0