当前位置:网站首页>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
边栏推荐
- 华为AppLinking中统一链接的创建和使用
- [applinking practical case] share in app pictures through applinking
- 【快应用】Win7系统使用华为IDE无法运行和调试项目
- Special topic of binary tree -- acwing 1497 Traversal of the tree (use post and mid order traversal to build a binary tree)
- 二叉树专题--AcWing 19. 二叉树的下一个节点(找树中节点的后继)
- One trick to quickly realize custom application titlebar
- P1055 [noip2008 popularization group] ISBN number
- 【ARK UI】HarmonyOS ETS的启动页的实现
- Matlab processing of distance measurement of experimental electron microscope
- JSP webshell免殺——JSP的基礎
猜你喜欢
快应用中实现自定义抽屉组件
[play with FPGA learning 2 in simple terms ----- design skills (basic grammar)]
V2x SIM dataset (Shanghai Jiaotong University & New York University)
1287_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Use of vscode tool
三.芯片启动和时钟系统
What are the software product management systems? Inventory of 12 best product management tools
华为应用市场应用统计数据问题大揭秘
二叉树专题--AcWing 1589. 构建二叉搜索树
[AI application] Hikvision ivms-4200 software installation
随机推荐
Shell programming 01_ Shell foundation
最详细MySql安装教程
php中self和static在方法中的区别
华为应用市场应用统计数据问题大揭秘
Hdu1236 ranking (structure Sorting)
(5) Gear control setting of APA scene construction
二叉树专题--AcWing 47. 二叉树中和为某一值的路径(前序遍历)
TIPC Cluster5
QT learning diary 8 - resource file addition
全网显示 IP 归属地,是怎么实现的?
Special topic of binary tree -- acwing 19 The next node of the binary tree (find the successor of the node in the tree)
JSP webshell免杀——webshell免杀
static 函数中的静态变量
二叉树专题--AcWing 3540. 二叉搜索树建树(实用板子 构建二叉搜索树 并输出前、中、后序遍历)
洛谷 P5536 【XR-3】核心城市(贪心 + 树形 dp 寻找树的中心)
1287_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Common methods of JS array
V2x SIM dataset (Shanghai Jiaotong University & New York University)
2022爱分析· 国央企数字化厂商全景报告
Binary tree topic -- p1030 [noip2001 popularization group] find the first order