Settings

Theme

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

7 points by sippndipp 7 years ago · 2 comments · 1 min read


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.

ArtWomb 7 years ago

This is the classic "Gnutella problem" 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 ;)

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!

OpenDHT: A C++11 Distributed Hash Table implementation

https://github.com/savoirfairelinux/opendht

sippndippOP 7 years ago

I have found a paper about CRUSH maps so far (from the Ceph project): https://ceph.com/wp-content/uploads/2016/08/weil-crush-sc06.... but I think there is more.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection