r/DistributedComputing • u/Zarquan314 • Feb 02 '22
Peer to Peer network bandwidth question
I am working on a project that involves a peer to peer network. Someone raised concerns that we may be expecting a larger bandwidth than is reasonable.
Suppose we had a large number of registered nodes (in the thousands, possibly 10,000), and these nodes are constantly receiving data which they wish to propagate around the network. The data doesn't have to get to every node quickly, but there comes a time where a node expects pieces of data, so we expect every active node to have . In this general system, how much data creation and transmission could be handled reasonably? I am hoping the answer is more than 50 MB/minute, (as this is the upper bound for what our system can create), but I don't have a basis for comparison.
Does anyone here know a good place to find this kind of information. Everything about general peer-to-peer networks is about cryptocurrency systems and I am having trouble finding useful information.
View all comments
Show parent comment
1
u/Zarquan314 Feb 02 '22 edited Feb 02 '22
The data flow is fairly continuous and the data in question appears in chunks in random nodes. They transmit the new data they have in regular intervals. The data acts a lot like a cryptocurrency blockchain in that respect, but cryptocurrencies add artificial caps to the amount of data they can handle per unit time, nominally to ensure propagation happens well.
It's more that the data is used in the work. Eventually, everyone has all the data from a certain point in the past, but any working node can keep working without the data. They do their work better with more data, but they can keep working.
The peer to peer network is essentially a tree. A node can communicate with any other node, but I'm thinking they would probably have specific peers which they talk to.
Perhaps compression could help, I'm not sure.
One of the issues I have is I don't know how much data will actually be created, I don't know how many nodes there would be, and I don't actually have a peer to peer network to mess with and experiment. Therefore, I basically made an educated guess about the worst case scenario on these variables and went with that. It's more of a theoretical system at this point rather than a developed one. We don't want to create it unless I can say with certainty that it works.