------------------------------------------------------------------------- Mohamed G. Gouda CS 356 Spring 2017 Exercise 4 ------------------------------------------------------------------------- Let P be a peer that has been registered in a torrent T and has been assigned 50 peers, P1 through P50. Assume that P needs to get all 21,001 chunks of a file F (from its 50 peers). Also assume that each peer Pi assigned to P has all 21,001 chunks of F. How many chunks of F need to be sent from each of the peers P1 through P50 to P? (Hint: Number of chunks that are sent from P50 to P is one more than the numberof chunks that are sent from each of the peers P1 through P49 to P.) ------------------------------------------------------------------------ Solution: ------------------------------------------------------------------------