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

边栏推荐
- GaussDB 如何统计用户sql的响应时间
- 金仓数据库 KingbaseES 插件dbms_session
- COSCon'22 讲师征集令
- C disk uses 100% cleaning method
- try-catch-finally
- Big endian and little endian
- 动态规划解决股票问题(上)
- 仿真与烧录程序有哪几种方式?(包含常用工具与使用方式)
- At 16:00 today, Mr. sunxiaoming, a researcher of the Institute of computing, Chinese Academy of Sciences, took you into the quantum world
- 查询法,中断法实现USART通信
猜你喜欢

An interesting logic SRC mining

Shen Ying, China Academy of communications and communications: font open source protocol -- Introduction to ofl v1.1 and analysis of key points of compliance

基于超算平台气象预警并行计算架构研究
![[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

At 16:00 today, Mr. sunxiaoming, a researcher of the Institute of computing, Chinese Academy of Sciences, took you into the quantum world

Advanced single chip microcomputer -- development of PCB (2)

杭州/北京内推 | 阿里达摩院招聘视觉生成方向学术实习生(人才计划)

Previous string inversion topic

Redis6 note02 configuration file, publish and subscribe, new data type, jedis operation

Database Series: MySQL index optimization summary (comprehensive version)
随机推荐
[shangyun boutique] energy saving and efficiency improvement! Accelerating the transformation of "intelligent manufacturing" in the textile industry
Android:kotlin中Gson与JSON的泛型映射解析
Daily 3 questions (2) - find out the lucky numbers in the array
数据库系列:MySQL索引优化总结(综合版)
某APP中模拟器检测分析
Apache ShenYu 入门
芯片的发展史和具体用途以及结构是什么样的
视频会议一体机的技术实践和发展趋势
Big endian and little endian
Comparable的使用(用于Arrays.sort)
Is it safe to open a securities account in changtou school by mobile phone?
牛客网:旋转数组
中国信通院沈滢:字体开源协议——OFL V1.1介绍及合规要点分析
Tidb applicable scenarios
从GEE中免费获取全球人类住区层 (GHSL) 数据集
如何实现移动端富文本编辑器功能
Previous string inversion topic
记一次有趣的逻辑SRC挖掘
GCC related
Hangzhou / Beijing neitui Ali Dharma academy recruits academic interns in visual generation (talent plan)