当前位置:网站首页>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
边栏推荐
- Openmldb meetup No.4 meeting minutes
- HDU1234 开门人和关门人(水题)
- JSP webshell免殺——JSP的基礎
- 软件产品管理系统有哪些?12个最佳产品管理工具盘点
- Read H264 parameters from mediarecord recording
- 二叉树专题--【深基16.例7】普通二叉树(简化版)(multiset 求前驱 后继 哨兵法)
- 2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises
- In the face of uncertainty, the role of supply chain
- The difference between self and static in PHP in methods
- 华为AppLinking中统一链接的创建和使用
猜你喜欢

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

One trick to quickly realize custom application titlebar

最详细MySql安装教程

【AGC】构建服务3-认证服务示例

Matlab processing of distance measurement of experimental electron microscope

TIPC Cluster5
![[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?](/img/66/674a06d8e45a31ae879b81554ef373.png)
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?

The first white paper on agile practice in Chinese enterprises was released | complete download is attached
![Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)](/img/c2/bb85b681af0f78b380b1d179c7ea49.png)
Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)
![2. Hacking lab script off [detailed writeup]](/img/f3/29745761cd5ad4df84c78ac904ea51.png)
2. Hacking lab script off [detailed writeup]
随机推荐
HDU1228 A + B(map映射)
华为AppLinking中统一链接的创建和使用
Creation and use of unified links in Huawei applinking
flink二開,實現了個 batch lookup join(附源碼)
Special topic of binary tree -- acwing 1589 Building binary search tree
如何使用IDE自动签名调试鸿蒙应用
Is the account above changtou school safe?
JSP webshell free -- webshell free
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
[in simple terms, play with FPGA learning 3 ----- basic grammar]
php中self和static在方法中的区别
flink二开,实现了个 batch lookup join(附源码)
[AGC] build service 3 - authentication service example
洛谷 P3398 仓鼠找 sugar(树上倍增 lca 判断树中两条路径是否相交 结论)
How does the whole network display IP ownership?
二叉树专题--【深基16.例7】普通二叉树(简化版)(multiset 求前驱 后继 哨兵法)
MySQL lethal serial question 3 -- are you familiar with MySQL locks?
Convert yv12 to rgb565 image conversion, with YUV to RGB test
UWA report uses tips. Did you get it? (the fourth bullet)
2022-06-17