当前位置:网站首页>RPC typical framework
RPC typical framework
2022-06-25 11:21:00 【pyiran】
RPC(Remote Procedure Communication,RPC) It is a common Distributed Network communication protocol , Across the transport and application layers , Making users call a remote function is like calling a local function , Users do not need to care about the details of network communication , It simplifies the development cost of users . Typical applications include Hadoop.
RPC It is generally used that Client&Server Model , A typical RPC The framework includes :
Communication module : Implement request response protocol on server and client . It is generally divided into two implementation modes: synchronous and asynchronous .
Stub Program : Both the server and the client contain Stub Program , As an agent . On the client side , When a user calls a remote function, it is the same as when making a local call , But the request will be sent to the server through the network , Besides , After the client receives the response from the server , She also interprets it . And on the server side , It is responsible for receiving and decoding the parameters transmitted by the user , Call the corresponding service and return the encoded response to .
The scheduler : Receive the request message from the communication module and select one Stub The program handles it . When the request is large , Will use the thread pool to .
Client procedure / Service process : The sender of the request and the handler of the request .
边栏推荐
- Ladder side tuning: the "wall ladder" of the pre training model
- Detection and analysis of simulator in an app
- 动态规划解决股票问题(上)
- Comparator(用于Arrays.sort)
- CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English
- Application of global route guard
- 杭州/北京内推 | 阿里达摩院招聘视觉生成方向学术实习生(人才计划)
- Advanced single chip microcomputer -- development of PCB (2)
- 仿真与烧录程序有哪几种方式?(包含常用工具与使用方式)
- 金仓数据库 KingbaseES 插件force_view
猜你喜欢
zabbix分布式系统监控
Démarrer avec Apache shenyu
金太阳教育美股上市:市值3.6亿美元 成小盘中概股
金仓KFS数据级联场景部署
Task03 probability theory
Advanced single chip microcomputer -- development of PCB (2)
Sign up to open the third session of the "flying oar hacker marathon". It's been a long time
[file inclusion vulnerability-04] classic interview question: how to getshell when a website is known to have only local file inclusion vulnerability?
基于OpenStreetMap+PostGIS的地理位置系统 论文文档+参考论文文献+项目源码及数据库文件
COSCon'22 讲师征集令
随机推荐
Shen Ying, China Academy of communications and communications: font open source protocol -- Introduction to ofl v1.1 and analysis of key points of compliance
A random number generator
At 16:00 today, Mr. sunxiaoming, a researcher of the Institute of computing, Chinese Academy of Sciences, took you into the quantum world
反应c语言程序结构特点的程序
try-catch-finally
金仓数据库 KingbaseES 插件ftutilx
Jincang database kingbasees plug-in identity_ pwdexp
金仓数据库 KingbaseES 插件DBMS_RANDOM
金仓数据库 KingbaseES 插件DBMS_OUTPUT
How PHP extracts image addresses from strings
从GEE中免费获取全球人类住区层 (GHSL) 数据集
Double tampon transparent cryptage et décryptage basé sur le cadre minifilter
每日3題(3)-檢查整數及其兩倍數是否存在
A program reflecting the characteristics of C language program structure
CMU提出NLP新范式—重构预训练,高考英语交出134高分
c盘使用100%清理方法
如何实现移动端富文本编辑器功能
金仓数据库 KingbaseES 插件identity_pwdexp
Spannable 和 Editable、SpannableString 和 SpannableString
Software testing to avoid being dismissed during the probation period