当前位置:网站首页>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 set
1、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.
边栏推荐
- Oracle 笔记
- The most detailed MySQL installation tutorial
- 最详细MySql安装教程
- static 函数中的静态变量
- [quick application] there are many words in the text component. How to solve the problem that the div style next to it will be stretched
- 全网显示 IP 归属地,是怎么实现的?
- Luogu p1892 [boi2003] Gang (and search for variant anti set)
- 力扣(LeetCode)182. 查找重复的电子邮箱(2022.07.01)
- 洛谷 P3398 仓鼠找 sugar(树上倍增 lca 判断树中两条路径是否相交 结论)
- 二叉树专题--AcWing 3384. 二叉树遍历(已知先序遍历 边建树 边输出中序遍历)
猜你喜欢

全网显示 IP 归属地,是怎么实现的?

Special topic of binary tree -- acwing 47 Path with a certain value in binary tree (preorder traversal)

From Read and save in bag file Jpg pictures and PCD point cloud

Why does LabVIEW lose precision in floating point numbers

How to use ide to automatically sign and debug Hongmeng application

【AI应用】海康威视iVMS-4200软件安装

JSP webshell免杀——JSP的基础

Huawei game failed to initialize init with error code 907135000

Disassembling Meitu SaaS: driving the plane to change the engine

【深入浅出玩转FPGA学习3-----基本语法】
随机推荐
Read H264 parameters from mediarecord recording
主键策略问题
Hdu1228 a + B (map mapping)
Leetcode 182 Find duplicate email (2022.07.01)
HDU1234 开门人和关门人(水题)
Special topic of binary tree -- [deep base 16. Example 7] ordinary binary tree (simplified version) (multiset seeks the precursor and subsequent sentry Art)
Jenkins安装
华为联机对战服务玩家掉线重连案例总结
TIPC Cluster5
华为AppLinking中统一链接的创建和使用
TIPC Service and Topology Tracking4
TIPC Getting Started6
flink二开,实现了个 batch lookup join(附源码)
[applinking practical case] share in app pictures through applinking
Luogu p5536 [xr-3] core city (greed + tree DP looking for the center of the tree)
【快应用】text组件里的文字很多,旁边的div样式会被拉伸如何解决
Shell programming 01_ Shell foundation
Oracle 笔记
二叉树专题--AcWing 18. 重建二叉树(利用前、中序遍历,构建二叉树)
LVM操作