当前位置:网站首页>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 .

边栏推荐
- 金仓数据库 KingbaseES 插件identity_pwdexp
- Kingbasees plug-in DBMS of Jincang database_ RANDOM
- SystemVerilog(十三)-枚举数据类型
- Is it safe for Guosen Securities to open a securities account
- GaussDB others内存比较高的场景
- 10.1. Oracle constraint deferred, not deferred, initially deferred and initially deferred
- Redis6 note02 configuration file, publish and subscribe, new data type, jedis operation
- Kingbasees plug-in DBMS of Jincang database_ session
- zabbix分布式系统监控
- GaussDB 如何统计用户sql的响应时间
猜你喜欢

Introduction to JVM principle

Jincang KFS data cascade scenario deployment

视频会议一体机的技术实践和发展趋势

牛客网:分糖果问题
![[file containing vulnerability-03] six ways to exploit file containing vulnerabilities](/img/4f/495c852eb0e634c58e576d911a2c14.png)
[file containing vulnerability-03] six ways to exploit file containing vulnerabilities

How to start the phpstudy server

c盘使用100%清理方法

Ladder Side-Tuning:预训练模型的“过墙梯”

CMU提出NLP新范式—重构预训练,高考英语交出134高分
![[observation] objectscale: redefining the next generation of object storage, reconstruction and innovation of Dell Technology](/img/82/8cac87231e51698ab17f1274b3a0bd.jpg)
[observation] objectscale: redefining the next generation of object storage, reconstruction and innovation of Dell Technology
随机推荐
今天16:00 | 中科院计算所研究员孙晓明老师带大家走进量子的世界
动态规划解决股票问题(上)
ARM64汇编的函数有那些需要注意?
Arrays.asList()
Dynamic programming to solve stock problems (Part 1)
如何实现移动端富文本编辑器功能
CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English
金仓数据库 KingbaseES 插件DBMS_RANDOM
What are the functions of arm64 assembly that need attention?
What are the ways to simulate and burn programs? (including common tools and usage)
基于C语言的图书信息管理系统 课程论文+代码及可执行exe文件
Causes and solutions of over fitting
Kingbasees plug-in DBMS of Jincang database_ RANDOM
2022年PMP项目管理考试敏捷知识点(2)
反应c语言程序结构特点的程序
[file inclusion vulnerability-04] classic interview question: how to getshell when a website is known to have only local file inclusion vulnerability?
ZABBIX distributed system monitoring
Advanced single chip microcomputer -- development of PCB (2)
Previous string inversion topic
CFCA安心签接入