TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What's a good algorithm to distribute data in a P2P network

7 点作者 sippndipp超过 6 年前
I'm on the search for a good algorithm (no implementation needed) that distributes data in a P2P network. The goal should be to maximize availability.

2 条评论

ArtWomb超过 6 年前
This is the classic &quot;Gnutella problem&quot; of scalability and is still I believe very much an open problem. One runs into it in WebRTC multicast scenarios. But fortunately there are many vendors such as Twilio that provide cloud solutions ;)<p>Best solution is to overlay a distributed hash table as k-v store over the p2p network. Nodes can then query that instead of each other. You can make your implementation more robust by exploiting and rewarding nodes in the network that have faster net connections, more compute power, etc. Best of luck!<p>OpenDHT: A C++11 Distributed Hash Table implementation<p><a href="https:&#x2F;&#x2F;github.com&#x2F;savoirfairelinux&#x2F;opendht" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;savoirfairelinux&#x2F;opendht</a>
sippndipp超过 6 年前
I have found a paper about CRUSH maps so far (from the Ceph project): <a href="https:&#x2F;&#x2F;ceph.com&#x2F;wp-content&#x2F;uploads&#x2F;2016&#x2F;08&#x2F;weil-crush-sc06.pdf" rel="nofollow">https:&#x2F;&#x2F;ceph.com&#x2F;wp-content&#x2F;uploads&#x2F;2016&#x2F;08&#x2F;weil-crush-sc06....</a> but I think there is more.