当前位置:网站首页>TIPC messaging3
TIPC messaging3
2022-07-02 07:33:00 【云端漫步的程狗子】
Messaging
Datagram messaging
Unicast, anycast or multicast,取决于使用的地址类型、-套接字地址、服务地址或服务范围。
如果有多个套接字与给定的服务地址匹配,则以循环方式选择目标。
1、可靠的节点间传输。
2、接收socket 缓冲过载保护
3、没有端到端的流控制,因此消息仍然可能被接收套接字拒绝。
4、根据发送套接字的配置,被拒绝的消息可能会被丢弃或返回给发送方。
5、如果返回,消息将被截断并带有错误代码。Connections
通过使用服务地址或套接字地址建立连接
1、使用数据传输信息的单向设置(也称为“0-RTT”)
2、或传统的TCP样式设置
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 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 notes
- 快应用中实现自定义抽屉组件
- Operator-1 first acquaintance with operator
- 【深入浅出玩转FPGA学习4----漫谈状态机设计】
- 如何使用IDE自动签名调试鸿蒙应用
- 二叉树专题--洛谷 P3884 [JLOI2009]二叉树问题(dfs求二叉树深度 bfs求二叉树宽度 dijkstra求最短路)
- Logu p3398 hamster looks for sugar (double LCA on the tree to judge whether the two paths in the tree intersect)
- PCL point cloud to depth image
- Overview of integrated learning
猜你喜欢

华为快应用中如何实现同时传递事件对象和自定义参数
![[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?

【深入浅出玩转FPGA学习5-----复位设计】

QT学习日记7——QMainWindow
![[AGC] build service 3 - authentication service example](/img/89/63f367270e806e89c4ff92360dc3c5.png)
[AGC] build service 3 - authentication service example

Use of vscode tool

【深入浅出玩转FPGA学习2----设计技巧(基本语法)】

二叉树专题--AcWing 1497. 树的遍历(利用后、中序遍历,构建二叉树)

一招快速实现自定义快应用titlebar

Mysql database remote access permission settings
随机推荐
二叉树专题--AcWing 3540. 二叉搜索树建树(实用板子 构建二叉搜索树 并输出前、中、后序遍历)
Hdu1228 a + B (map mapping)
C#中索引器
PCL Eigen介绍及简单使用
MongoDB 学习整理(条件操作符,$type 操作符,limit()方法,skip() 方法 和 sort() 方法)
Special topic of binary tree -- acwing 3540 Binary search tree building (use the board to build a binary search tree and output the pre -, middle -, and post sequence traversal)
洛谷 P3398 仓鼠找 sugar(树上倍增 lca 判断树中两条路径是否相交 结论)
Kustomize user manual
二叉树专题--AcWing 1589. 构建二叉搜索树
Summary of cases of players' disconnection and reconnection in Huawei online battle service
6种单例模式的实现方式
JSP webshell免杀——JSP的基础
二叉树专题--AcWing 3384. 二叉树遍历(已知先序遍历 边建树 边输出中序遍历)
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
集成学习概览
Jsp webshell Free from killing - The Foundation of JSP
Operator-1 first acquaintance with operator
二叉树专题--AcWing 18. 重建二叉树(利用前、中序遍历,构建二叉树)
Special topic of binary tree -- acwing 3384 Binary tree traversal (known preorder traversal, while building a tree, while outputting middle order traversal)
洛谷 P1892 [BOI2003]团伙(并查集变种 反集)