当前位置:网站首页>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 ).
边栏推荐
- 线代(矩阵‘)
- 微信小程序wx.request接口
- Lpad() function and (row_number() over (order by) +...)
- Kubernates-1.24.2 (latest version) + containerd + nexus
- Octopus network community call 1 starts Octopus Dao construction
- Statistical learning -- naive Bayesian method
- [computer explanation] NVIDIA released geforce RTX Super Series graphics cards, and the benefits of game players are coming!
- Baidu Post Bar crawler gets web pages
- Rambus announces ddr5 memory interface chip portfolio for data centers and PCs
- [computer explanation] what should I pay attention to when I go to the computer repair shop to repair the computer?
猜你喜欢

How to learn C language?

Rambus announces ddr5 memory interface chip portfolio for data centers and PCs

10 minutes to understand how JMeter plays with redis database

knapsack problem

阿里云镜像地址&网易云镜像
![[300 + selected interview questions from big companies continued to share] big data operation and maintenance sharp knife interview question column (V)](/img/cf/44b3983dd5d5f7b92d90d918215908.png)
[300 + selected interview questions from big companies continued to share] big data operation and maintenance sharp knife interview question column (V)

Summary of differences between data submission type request payload and form data

vulnhub CyberSploit: 1

【terminal】x86 Native Tools Command Prompt for VS 2017

Meta is in a deep quagmire: advertisers reduce spending and withdraw from the platform
随机推荐
OpenAtom XuperChain 开源双周报 |2022.7.11-2022.7.22
【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了
Lpad() function and (row_number() over (order by) +...)
js无法获取headers中Content-Disposition
一日千里,追风逐月 | 深势科技发布极致加速版分子对接引擎Uni-Docking
"Wei Lai Cup" 2022 Niuke summer multi school training camp 1 supplementary problem solution (incomplete)
Luo min from qudian, prefabricate "leeks"?
With apple not making money, the 2trillion "fruit chain" abandons "fruit" and embraces "special"
Paper reading: UNET 3+: a full-scale connected UNET for medical image segmentation
Paddlepaddle 34 adjust the layer structure and forward process of the model (realize the addition, deletion, modification and forward modification of the layer)
阿里云镜像地址&网易云镜像
Box horse "waist cut", blame Hou Yi for talking too much?
Enable the free pan domain SSL certificate for kubesphere cluster and realize the automatic update and distribution of certificates
What are the types of financial products in 2022? Which is suitable for beginners?
Incremental crawler in distributed crawler
各位老板 问一下 就是我们mysql cdc保存的是配置数据 然后kafka里面堆积的有历史
用VS Code搞Qt6:编译源代码与基本配置
CTF Crypto---RSA KCS1_OAEP模式
[daily question] sword finger offer II 115. reconstruction sequence
线代(矩阵‘)