回复:功能请求:限制连接数
原始发布页
打开来源页面查看 1 个交叉存档
感谢对此提供反馈。
我们可以做的一件事是把出站连接数从 15 降到 10,甚至可能降到 5。选择 15 是随意定的。它只需要足够实现冗余和消息的快速指数式传播即可。10 仍然绰绰有余。5 应该也可以。10 是个不错的整数,用户可以看出它是有意停在这里的。
实现 UPnP 会有所帮助,这样就会有更多接受入站连接的节点。你的连接数等于接受入站连接的节点与仅出站节点的比率乘以 15。我们需要鼓励更多人接受入站连接。
我会实现一项功能,在达到一定数量后停止接受入站连接。
你运行的是哪个版本?
有人知道像 BitTorrent 这样的典型 P2P 软件最多能达到多少个连接吗?
英文原文
展开英文原文
Thanks for the feedback on this.
One thing we could do is lower the outbound connections from 15 to 10 or maybe even 5. The choice of 15 was arbitrary. It just needs to be enough for redundancy and fast exponential propagation of messages. 10 would still be plenty. 5 should be fine. 10 is good as a nice round number so users can see that it stopped intentionally.
It would help to implement UPnP so there would be more inbound accepting nodes. Your number of connections is the ratio of inbound accepting nodes to out-only times 15. We need to encourage more people to accept inbound connections.
I will implement a feature to stop accepting inbound connections once you hit a certain number.
Which version are you running?
Anyone know how many connections typical P2P software like BitTorrent can get up to?