Hi, I am not the greatest at math but I found an interesting probability question for you guys to think through. It has to do with the popular peer-to-peer program called BitTorrent, which people use to share files on the internet, typically ranging in file size from 5MB for a single song, to 4.5GB for a DVD movie. Bittorrent divides each file into segments and each segment is divided further into blocks. See below for an example:(adsbygoogle = window.adsbygoogle || []).push({});

File: Movie

Size: 600MB

# of Segments: 1172

Segment Size: 512KB

# of Blocks: 32

Bittorrent distributes these segments to other users on the network at random. The segments do not have to be distributed in order from 1 to 1172. Instead you may get #342, then #21, then #879, etc. Its all random for a very neat reason. Say the person who originally uploaded the DVD File onto the network, only stays online for a brief period of time. During this time, 5 Bittorrent users start downloading the File from this original uploader. But because the uploader does not stay online for very long, the 5 users only complete downloading about 80% of the File each. In fact, lets say each user downloads exactly 80% by some freak chance, so we can simplify the question. But clearly there would be a distribution of percentages based largely on each user's bandwidth, but I digress. What's neat is that even though each user has exactly 80% of the File, since the File was distributed in segments and each segment distributed randomly to the 5 users, you can see that its pretty likely that together, on aggregate, all 5 users' combined segments, may total 100% of the File. Or is it likely? This is what I'd like to know.

Another question of interest, is given the same problem, at what percentage would one find it a 50/50 proposition that the 5 users do in fact have 100% of the File collectively?

Finally, if we include blocks in our calculation, that is to say, each File is divided into segments and then into blocks and it is these blocks that are distributed randomly, at what percentage would would one find it a 50/50 proposition that the 5 users do in fact have 100% of the File collectively? Perhaps this is just like saying there are 1172x32 segments instead of 1172, as I say, I'm not great at math logic.

Note, that this is my rough understanding of how Bittorrent works. I'm sure its not a perfectly accurate illustration, but I think the question is pretty well defined in and of itself.

Cheers for your replies,

Thank you.

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Probability of the Bit Torrent technology

Loading...

Similar Threads - Probability Torrent technology | Date |
---|---|

I Probability density of an exponential probability function | Today at 12:10 PM |

B Probability and Death Sentences | Thursday at 10:48 PM |

B Probability of loto hitting a specific place | Mar 10, 2018 |

B The Drunkard's Walk: A Discussion of the Text | Mar 8, 2018 |

**Physics Forums - The Fusion of Science and Community**