当前位置:网站首页>TIPC messaging3
TIPC messaging3
2022-07-02 11:08:00 【Cheng Gouzi walking in the clouds】
Messaging
Datagram messaging
Unicast, anycast or multicast, Depends on the type of address used 、- Socket address 、 Service address or service scope .
If there are multiple sockets matching the given service address , Then select the target in a circular way .
1、 Reliable transmission between nodes .
2、 receive socket Buffer overload protection
3、 There is no end-to-end flow control , Therefore, the message may still be rejected by the receiving socket .
4、 According to the configuration of sending socket , Rejected messages may be discarded or returned to the sender .
5、 If you return , The message will be truncated with an error code .Connections
Establish a connection by using a service address or socket address
1、 Use the one-way setting of data transmission information ( Also known as “0-RTT”)
2、 Or traditional TCP The style is set1、Stream- or message oriented.
2、End-to-end flow control for socket receive buffer overflow protection.
3、No socket level sequence numbers, acknowledges or retransmissions, - link layer takes care of that.Connection breaks immediately if peer becomes unavailable.
1、Leverages link level heartbeats and kernel/socket cleanup functionality.
2、No socket level “keepalive” heartbeats needed.Communication Groups( Communication group )
Communication groups can be described as brokerless message bus instances. Such instances are user created, - the first joining member socket implicitly creates the group. This feature is available from Linux 4.14.
A socket joins a group by indicating a service address, - the address type field serves as group identity, the address instance field serves as member identity.
Groups are closed, - members can only exchange messages with other sockets in the same group.
Each member socket has two addresses: a socket address bound by the system and a service address (group:member tuple) bound by the user. Both addresses are delivered to a message receiving user.
Member sockets may optionally provide the user with join/leave events for other group members, leveraging the service tracking capabilities of the binding table.
Member sockets may optionally receive loopback copies of their own anycast/multicast/broadcast messages.
Within a group there are four different transmission modes available.
Unicast when the sender indicates a socket address as destination.
Anycast when the sender indicates a service address as destination. If there is more than one matching destination, one will be selected by round-robin, but also considering the destination’s load, which can be inferred from the destination’s advertised window.
Multicast when the sender indicates a service range as destination. If there is more than one matching destination, all of them will receive a copy of the sent message.
Broadcast when the sender uses the send() primitive with no destination address. All member sockets, irrespective of member instance number, receive a copy of the message.
Both broadcast and multicast leverage Ethernet broadcast/UDP multicast when possible and deemed favorable.
Delivery and sequence order is guaranteed, even between different transmission modes. Among other things, this implies that all messages must be subject to end-to-end flow control.
Messages will never be dropped because of destination buffer overflow.
Same mechanism covers all tranmsmission modes.
Point-to-point and point-to-multipoint: - “sliding window” algorithm.
Multipoint-to-point: - “coordinated sliding window” algorithm, unique for TIPC.
边栏推荐
- [AGC] build service 3 - authentication service example
- Special topic of binary tree -- [deep base 16. Example 7] ordinary binary tree (simplified version) (multiset seeks the precursor and subsequent sentry Art)
- 一.STM32的开发环境,keil5/MDK5.14安装教程(附下载链接)
- HDU1234 开门人和关门人(水题)
- 二叉树专题--洛谷 P1229 遍历问题(乘法原理 已知前、后序遍历求中序遍历个数)
- 【快应用】Win7系统使用华为IDE无法运行和调试项目
- PCL projection point cloud
- [play with FPGA learning 4 in simple terms ----- talk about state machine design]
- QT learning diary 7 - qmainwindow
- TIPC messaging3
猜你喜欢
二叉树专题--AcWing 19. 二叉树的下一个节点(找树中节点的后继)
Creation and use of unified links in Huawei applinking
From Read and save in bag file Jpg pictures and PCD point cloud
The first white paper on agile practice in Chinese enterprises was released | complete download is attached
Special topic of binary tree -- acwing 19 The next node of the binary tree (find the successor of the node in the tree)
最详细MySql安装教程
二叉树专题--洛谷 P3884 [JLOI2009]二叉树问题(dfs求二叉树深度 bfs求二叉树宽度 dijkstra求最短路)
【AGC】构建服务3-认证服务示例
Jsp webshell Free from killing - The Foundation of JSP
二叉树专题--AcWing 3384. 二叉树遍历(已知先序遍历 边建树 边输出中序遍历)
随机推荐
Hdu1236 ranking (structure Sorting)
The URL in the RTSP setup header of the axis device cannot take a parameter
Jenkins安装
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
计算序列之和
Oracle 笔记
2022-06-17
二叉树专题--P1030 [NOIP2001 普及组] 求先序排列
Resources读取2d纹理 转换为png格式
Special topic of binary tree -- acwing 19 The next node of the binary tree (find the successor of the node in the tree)
【深入浅出玩转FPGA学习5-----复位设计】
二叉树专题--AcWing 3384. 二叉树遍历(已知先序遍历 边建树 边输出中序遍历)
如何使用IDE自动签名调试鸿蒙应用
Jsp webshell Free from killing - The Foundation of JSP
QT学习日记8——资源文件添加
TIPC Getting Started6
Use of vscode tool
What are the software product management systems? Inventory of 12 best product management tools
[applinking practical case] share in app pictures through applinking
QT learning diary 8 - resource file addition