Network probability problem

Click For Summary
SUMMARY

The discussion centers on calculating the probability of retaining at least one replica of all original peers in a peer-to-peer network after a specified number of peer failures. The scenario involves N peers, K replicas, and M simultaneous peer failures. The initial solution proposes that when K equals M, the probability can be expressed as 1 - (N/Choose(N,M)). The complexity increases in the general case, suggesting a need for a chain of probabilities to accurately model the situation.

PREREQUISITES
  • Understanding of probability theory, particularly combinatorial probability.
  • Familiarity with peer-to-peer network architecture and file replication strategies.
  • Knowledge of binomial coefficients and their applications in probability calculations.
  • Basic concepts of independent events in probability.
NEXT STEPS
  • Research advanced probability concepts, focusing on chain probabilities and their applications.
  • Explore combinatorial methods in probability, particularly binomial distributions.
  • Study peer-to-peer network resilience and failure recovery strategies.
  • Investigate simulations of peer-to-peer networks to visualize the impact of peer failures on data availability.
USEFUL FOR

Mathematicians, computer scientists, network engineers, and anyone involved in designing resilient peer-to-peer systems or studying probability in networked environments.

chrisg
Messages
1
Reaction score
0

Homework Statement


I have a question that's stumped me for a bit. Suppose we have a peer-to-peer network that's used to store replicas of files (such as p2p networks do) that are replicated randomly. And suppose we have the following:

peer 1 has files 1, 3, 5
peer 2 has files 2, 4, 5
peer 3 has files 3 , 1, 2
peer 4 has files 4 , 2, 1
peer 5 has files 5, 3, 4

In the example above, we have 3 replicas, but for a system of N peers we could have up to N replicas of each peer with each peer containing the same number of replicas as any other peer.

The question is, with N peer, K replicas and M peer failures (suppose they drop out simultaneously but independently), what is the probability that the remaining peers contain at LEAST one replica of all of the original peers?


The Attempt at a Solution


Intuitively, I think that for the simple case with N peers, where the number of replicas (K) == number of failures (M), we can express the probability of having at least one replica of each peer remaining as:
1 - (N/Choose(N,M))

For the general case, however, I'm stumped. I suspect that it's a chain of probabilities, but I'm not positive on that one. Any suggestions would be appreciated.

Thanks!
 
Physics news on Phys.org
It might be easier to think about just one file being replicated.

In that case, you have K servers that have the file and N-K that do not.

It's the same type of problem as "choosing M balls at random from a bag containg K black balls and N-K white balls"
 

Similar threads

Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
31
Views
7K
Replies
2
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K