A server with an upload rate of 5,000 bits/sec must distribute a 10,000 bit file
ID: 3787738 • Letter: A
Question
A server with an upload rate of 5,000 bits/sec must distribute a 10,000 bit file to 20 clients. Each client has a download rate of 4,000 bits/sec. What is the minimum time required to distribute the file to all the clients under the client-server model? A peer-to-peer system consists of a server (containing a copy of a file), and 20 peers. The file size is 10,000 bits, the upload rate of the server is 5,000 bits/sec., and the upload rate of each peer is 2, 500 bits/sec. The download rate of each peer is 4,000 bits/sec. What is the minimum time required to distribute the file to all the peers under the peer-to-peer model?Explanation / Answer
1) The download rate of the client is 4,000 bits/sec, so we are limited by that number. We have to send the file to two clients at once. Let us divide the bandwith as 2,500 bits/sec to each of them. So it takes 4 sec to transfer the file to both the clients. In total it takes 40 sec to transfer the file to all the clients. This is the fastest speed we can achieve, as any point of time we are using the maximum upload capacity of the server.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.