当前位置:网站首页>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
边栏推荐
- From Read and save in bag file Jpg pictures and PCD point cloud
- 如何用list组件实现tabbar标题栏
- 点云投影图片
- Use Huawei performance management service to configure the sampling rate on demand
- TIPC Cluster5
- STM32单片机编程学习
- MySQL keyword
- php中self和static在方法中的区别
- Luogu p5536 [xr-3] core city (greed + tree DP looking for the center of the tree)
- [AGC] build service 3 - authentication service example
猜你喜欢

QT learning diary 7 - qmainwindow

JSP webshell free -- the basis of JSP

2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises

HDU1228 A + B(map映射)

Common methods of JS array

【快应用】text组件里的文字很多,旁边的div样式会被拉伸如何解决

OpenMLDB Meetup No.4 会议纪要

JVM之垃圾回收器

Jsp webshell Free from killing - The Foundation of JSP

快应用中实现自定义抽屉组件
随机推荐
PCL projection point cloud
1287_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
P1055 [NOIP2008 普及组] ISBN 号码
二叉树专题--【深基16.例7】普通二叉树(简化版)(multiset 求前驱 后继 哨兵法)
PCL extracts a subset from a point cloud
The first white paper on agile practice in Chinese enterprises was released | complete download is attached
UWA report uses tips. Did you get it? (the fourth bullet)
Oracle 笔记
洛谷 P1892 [BOI2003]团伙(并查集变种 反集)
【深入浅出玩转FPGA学习3-----基本语法】
Special topic of binary tree -- Logu p1229 traversal problem (the number of traversals in the middle order is calculated when the pre and post order traversals of the multiplication principle are know
Analysis of hot spots in AI technology industry
二叉树专题--洛谷 P1229 遍历问题(乘法原理 已知前、后序遍历求中序遍历个数)
Common methods of JS array
MySQL lethal serial question 3 -- are you familiar with MySQL locks?
HDU1228 A + B(map映射)
【AGC】如何解决事件分析数据本地和AGC面板中显示不一致的问题?
QT learning diary 7 - qmainwindow
Point cloud projection picture
Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)