Interactive end-of-chapter exercises

A comparison of client-server and P2P file distribution delays

In this problem, you'll compare the time needed to distribute a file that is initially located at a server to clients via either client-server download or peer-to-peer download. Before beginning, you might want to first review Section 2.5 and the discussion surrounding Figure 2.22 in the text.

The problem is to distribute a file of size F = 6 Gbits to each of these 9 peers. Suppose the server has an upload rate of u = 93 Mbps.

The 9 peers have upload rates of: u1 = 26 Mbps, u2 = 18 Mbps, u3 = 26 Mbps, u4 = 23 Mbps, u5 = 29 Mbps, u6 = 21 Mbps, u7 = 27 Mbps, u8 = 25 Mbps, and u9 = 18 Mbps

The 9 peers have download rates of: d1 = 13 Mbps, d2 = 28 Mbps, d3 = 29 Mbps, d4 = 24 Mbps, d5 = 36 Mbps, d6 = 36 Mbps, d7 = 11 Mbps, d8 = 22 Mbps, and d9 = 18 Mbps

Question 1 of 4

We gratefully acknowledge the programming and problem design work of John Broderick (UMass '21), which has really helped to substantially improve this site.

Copyright © 2010-2022 J.F. Kurose, K.W. Ross
Comments welcome and appreciated: kurose@cs.umass.edu