当前位置:网站首页>TIPC protocol
TIPC protocol
2022-07-02 11:08:00 【Cheng Gouzi walking in the clouds】
TIPC Overview of the agreement
TIPC It is Ericsson's open source transparent process communication protocol , It is generally used in cluster system .
although tipc Is based on socket Realized , But with the general socket There is also a difference . Usually we use socket, Whether it's TCP Good ,UDP Good , Used to identify a pair of socket Communication for , It's just two socket Of IP Address and port number . For example, use UDP Of socket, To send a datagram To another socket, You need to specify the address of the opposite end , This address is provided by the peer device IP And port number .Socket It is managed in the kernel , When the kernel detects socket When there is data to read , You'll be notified to have this socket Process to read data .
Usually we use socket It is necessary to specify the address of the opposite end , We must know this socket On which device , equipment IP How much is the , What port number is used , To send data .
TIPC That solved the problem . Use TIPC, We're creating socket When , Register your own service type in the kernel , Then at the sending end , You only need to specify the service type to route from the kernel to the corresponding socket. This is the time , For the application layer , The peer address is just a service type . obviously , The kernel maintains such a routing table , You can find the corresponding service according to the service type socket. Each device has such a routing table , Their information can be shared in the whole cluster network like an ordinary routing table , All equipment can be used for socket lookup . therefore , With TIPC, We don't need to care about socket Which one was used IP, Which port .Tipc It also has the following characteristics :
Sometimes , Multiple processes provide the same service , Just for load balancing or redundant backup , In this case, you can use an integer variable instance To identify different socket, But specify the same service type . here ,socket By service type and instance Jointly designated . When sending data, you only need to specify service type And a instance value . You can also specify service type and instance An interval of , This situation is broadcast Yours datagram
management tipc The routing table is in the kernel name server process . He maintains all the... In the cluster tipc socket. Sending datagram To someone socket Before , You can ask himRecommended information
http://tipc.sourceforge.net/index.html
MORE INFORMATION
TIPC home page
http://tipc.io
TIPC project page
http://sourceforge.net/project/tipc
TIPC Demo/Test/Utility programs
http://sourceforge.net/project/tipc/files
TIPC Communication Groups
https://www.slideshare.net/JonMaloy/tipc-communication-groups
TIPC Overlapping Ring Neighbor Monitoring
https://www.youtube.com/watch?v=ni-iNJ-njPo
TIPC protocol specification (somewhat dated)
http://tipc.sourceforge.net/doc/draft-spec-tipc-10.html
TIPC programmer’s guide (somewhat dated)
http://tipc.sourceforge.net/doc/tipc_2.0_prog_guide.html
边栏推荐
- Luogu p1892 [boi2003] Gang (and search for variant anti set)
- Logu p3398 hamster looks for sugar (double LCA on the tree to judge whether the two paths in the tree intersect)
- 最详细MySql安装教程
- Summary of cases of players' disconnection and reconnection in Huawei online battle service
- Creation and use of unified links in Huawei applinking
- [paid promotion] collection of frequently asked questions, recommended list FAQ
- Point cloud projection picture
- 【AI应用】海康威视iVMS-4200软件安装
- Flink two Open, implement Batch Lookup join (attached source)
- The first white paper on agile practice in Chinese enterprises was released | complete download is attached
猜你喜欢
QT学习日记7——QMainWindow
二叉树专题--洛谷 P1229 遍历问题(乘法原理 已知前、后序遍历求中序遍历个数)
Creation and use of unified links in Huawei applinking
MongoDB 学习整理(条件操作符,$type 操作符,limit()方法,skip() 方法 和 sort() 方法)
V2x SIM dataset (Shanghai Jiaotong University & New York University)
二叉树专题--AcWing 19. 二叉树的下一个节点(找树中节点的后继)
flink二開,實現了個 batch lookup join(附源碼)
OpenMLDB Meetup No.4 会议纪要
(5) Gear control setting of APA scene construction
使用华为性能管理服务,按需配置采样率
随机推荐
STM32单片机编程学习
Binary tree topic -- p1030 [noip2001 popularization group] find the first order
618 what is the secret of dominating the list again? Nike's latest financial report gives the answer
Special topic of binary tree -- acwing 1589 Building binary search tree
华为AppLinking中统一链接的创建和使用
V2X-Sim数据集(上海交大&纽约大学)
使用华为性能管理服务,按需配置采样率
[in simple terms, play with FPGA learning 3 ----- basic grammar]
QT learning diary 8 - resource file addition
Is the account above changtou school safe?
static 函数中的静态变量
一招快速实现自定义快应用titlebar
华为应用市场应用统计数据问题大揭秘
MySQL keyword
Special topic of binary tree -- acwing 1497 Traversal of the tree (use post and mid order traversal to build a binary tree)
JSP webshell免杀——JSP的基础
Point cloud projection picture
Overview of integrated learning
OpenMLDB Meetup No.4 会议纪要
Special topic of binary tree -- acwing 3540 Binary search tree building (use the board to build a binary search tree and output the pre -, middle -, and post sequence traversal)