需要在 Hyperledger Sawtooth 架构指南的文档中进行澄清:验证器对等 (P2P) 网络 [英] Need clarification in documentation of Hyperledger Sawtooth Architecture Guide : Validator Peer to Peer (P2P) Network
问题描述
我想从这个文档中理解以下声明.
第 1 部分:
如果网络组件的对等点数小于最小连通性,则网络组件将继续执行对等点搜索.如果网络组件的对等点数等于或大于最大连接数,则网络组件拒绝对等连接尝试.
第 2 部分:
即使达到最大对等连接数,网络服务仍应接受并响应合理数量的连接(用于其他节点拓扑构建等)
问题:
第 1 部分和第 2 部分中的陈述 - 相互矛盾.文档有误吗?
The statements in part 1 and part 2 - contradict with each other. Is the documentation wrong?
如果不是,两者都是有效的……那么,在什么情况下,它们中的每一个都比另一个有效?
If not, both are valid... then, under what circumstances each of them is valid over the other?
根据第 1 部分:
如果网络组件的对等点数等于或大于最大连接数,则网络组件拒绝对等互连尝试
根据第 2 部分:
网络服务仍应接受并响应合理数量的连接
.
推荐答案
混淆可能是因为,我认为最大连接"实际上是最大连接对等".连接是指在与该节点建立对等连接之前与远程节点的基本网络连接(我认为是 0MQ).基本连接就像客户端服务器连接(远程节点是服务器)对等连接将涉及两个节点之间用于消息传递(块、批处理等)的双向关系.在开始对等过程之前,应该有一个到远程节点的基本连接.
The confusion may be because, I think "maximum connectivity" is actually "maximum connectivity peering". Connections refer to a basic network connection (0MQ I think) with a remote node, before establishing a peer connectivity with that node. A basic connection would be like a client server connection (the remote node being the server) A peer connectivity would involve a bi directional relationship between the two nodes for message passing (block, batches etc). A basic connection to remote node should be there before starting the peering process.
即使在达到最大对等连接后,节点仍应接受基本连接,例如,允许其他节点获取您的对等节点列表,并可能与它们连接或仅查找网络中的其他节点.节点可以获取远程节点的对等节点列表,而无需与该远程节点建立对等连接.
Even after maximum peer connections are reached, a node should still accept basic connections for things like, allowing other nodes to get a list of your peers, and may be connect with them or just finding other nodes in the network. A node can get the list of peers of a remote node, without having a peer connection with that remote node.
这篇关于需要在 Hyperledger Sawtooth 架构指南的文档中进行澄清:验证器对等 (P2P) 网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!