当前位置:网站首页>RPC communication principle and project technology selection
RPC communication principle and project technology selection
2022-07-25 07:14:00 【_ Soren】
List of articles
RPC Communication principle
RPC(Remote Procedure Call Protocol): Remote procedure call protocol .



Technology selection
The serialization and deserialization of messages use protobuf.
protobuf(protocol buffer) yes google A data exchange format of , It is independent of the platform language .
google Provides protobuf Multilingual implementation :java、c#、c++、go and python, Each implementation contains the compiler and library files of the corresponding language .
Because it's a binary format , Than using xml(20 times ) 、json(10 times ) Data exchange is much faster . It can be used for data communication between distributed applications or data exchange in heterogeneous environment . As an efficient and compatible Binary data transfer format , Can be used for such as network transmission 、 The configuration file 、 Data storage and many other fields .
and Json The difference between :
- protobuf It's binary storage ,xml and Json Is text stored .
- protobuf No need to store additional information , Store only valid data ,Json What's stored is key-value.
Network part , Including looking for rpc Service host , launch rpc Call request and response rpc The results , Use muduo The Internet
Kuhe zookeeper Service configuration center ( Specialized in service discovery ).
边栏推荐
- Oracle table creation statement template
- 从ACL 2022 Onsite经历看NLP热点
- RPC通信原理与项目技术选型
- 【SemiDrive源码分析】【驱动BringUp】38 - NorFlash & eMMC分区配置
- [OBS] DTS sent by video packet_ USEC calculation
- Meta is in a deep quagmire: advertisers reduce spending and withdraw from the platform
- Software engineering in Code: regular expression ten step clearance
- What are runtimecompiler and runtimeonly
- QT6 with vs Code: compiling source code and basic configuration
- Box horse "waist cut", blame Hou Yi for talking too much?
猜你喜欢

用VS Code搞Qt6:编译源代码与基本配置

论文阅读:UNET 3+: A FULL-SCALE CONNECTED UNET FOR MEDICAL IMAGE SEGMENTATION

BOM概述
![[computer explanation] NVIDIA released geforce RTX Super Series graphics cards, and the benefits of game players are coming!](/img/11/24f92b4362026ec2c01492d195560b.png)
[computer explanation] NVIDIA released geforce RTX Super Series graphics cards, and the benefits of game players are coming!

"Wei Lai Cup" 2022 Niuke summer multi school training camp 1 supplementary problem solution (incomplete)

Dynamic memory management

js无法获取headers中Content-Disposition

%d,%s,%c,%x

File operation-

第一启富金怎么样
随机推荐
Will eating fermented steamed bread hurt your body
【terminal】x86 Native Tools Command Prompt for VS 2017
Shell run command
Luo min from qudian, prefabricate "leeks"?
【电脑讲解】去电脑维修店修电脑需要注意什么?
9大最佳工程施工项目管理系统
Electronic Association C language level 2 60, integer parity sort (real question in June 2021)
"Wei Lai Cup" 2022 Niuke summer multi school training camp 1 supplementary problem solution (incomplete)
Software engineering in Code: regular expression ten step clearance
2022天工杯CTF---crypto1 wp
Summary of differences between data submission type request payload and form data
如何学习 C 语言?
[daily question 1] 1184. Distance between bus stops
【刷题笔记】搜索插入位置(二分法的活用)
What are the types of financial products in 2022? Which is suitable for beginners?
蔚来一面:多线程join和detach的区别?
Argocd user management, RBAC control, script login, APP synchronization
Basic usage of thread class
Dynamic memory management
【每日一题】1184. 公交站间的距离