Question: Consider the following simplified P2P application. There are 2n peer nodes and, during the time in question, no peers join or leave the swarm. It
Consider the following simplified P2P application. There are 2n peer nodes and, during the time in question, no peers join or leave the swarm. It takes a peer 1 unit of time to upload or download a file chunk, during which time it could only do one or the other. Initially, one peer has the entire file and the others have nothing.
a. If the requested file only have 1 chunk, what is the minimum amount of time for all the peers to have the entire file?
b. The same question when the requested file have 2 chunks.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
