1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peer
ID: 3542614 • Letter: 1
Question
1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peers) in addition to the server, and that the following 20 numbers represent the download speed of the 20 clients, in Mb/s:- 2
- 2
- 3
- 4
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 6
- 6
- 8
- 9
- 10
- 15
The server has an upload speed of 50 Mb/s.
2. What is the minimum time, in seconds, that it takes to distribute the file in the client/server case?
3. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? Now, suppose we double the number of clients and the distribution of their speeds is unchanged, i.e., the file and server upload speeds are the same, the slowest download speed is unchanged, N is doubled to 40, and the sums of all the peer upload and download speeds is doubled. Now, what is the minimum time, in seconds, it takes to distribute the file in the client/server case?
4. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? 1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peers) in addition to the server, and that the following 20 numbers represent the download speed of the 20 clients, in Mb/s:
- 2
- 2
- 3
- 4
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 6
- 6
- 8
- 9
- 10
- 15
The server has an upload speed of 50 Mb/s.
2. What is the minimum time, in seconds, that it takes to distribute the file in the client/server case? 1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peers) in addition to the server, and that the following 20 numbers represent the download speed of the 20 clients, in Mb/s:
- 2
- 2
- 3
- 4
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 6
- 6
- 8
- 9
- 10
- 15
The server has an upload speed of 50 Mb/s.
2. What is the minimum time, in seconds, that it takes to distribute the file in the client/server case?
3. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? 3. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? Now, suppose we double the number of clients and the distribution of their speeds is unchanged, i.e., the file and server upload speeds are the same, the slowest download speed is unchanged, N is doubled to 40, and the sums of all the peer upload and download speeds is doubled. Now, what is the minimum time, in seconds, it takes to distribute the file in the client/server case? Now, suppose we double the number of clients and the distribution of their speeds is unchanged, i.e., the file and server upload speeds are the same, the slowest download speed is unchanged, N is doubled to 40, and the sums of all the peer upload and download speeds is doubled. Now, what is the minimum time, in seconds, it takes to distribute the file in the client/server case?
4. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? 4. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? 1. Suppose a 1 GB file must be distributed. Assume there are 20 clients (or peers) in addition to the server, and that the following 20 numbers represent the download speed of the 20 clients, in Mb/s:
- 2
- 2
- 3
- 4
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 5
- 6
- 6
- 8
- 9
- 10
- 15
The server has an upload speed of 50 Mb/s.
2. What is the minimum time, in seconds, that it takes to distribute the file in the client/server case?
3. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case? Now, suppose we double the number of clients and the distribution of their speeds is unchanged, i.e., the file and server upload speeds are the same, the slowest download speed is unchanged, N is doubled to 40, and the sums of all the peer upload and download speeds is doubled. Now, what is the minimum time, in seconds, it takes to distribute the file in the client/server case?
4. Continuing with the previous question, what is the minimum number of seconds to distribute the file in the peer-to-peer case?
Explanation / Answer
1. 2=512s or 9m to download a 1GB file
2=512s or 9m to download a 1GB file
3=341s or 6m to download a 1GB file
4=256s or 4m to download a 1GB flle
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
5=205s or 3m to download a 1 GB file
6=170s or 3m to download a 1 GB file
6=170s or 3m to download a 1 GB file
8=128s or 2m to download a 1 GB file
9=113s or 2m to download a 1 GB file
10=102s or 2m to download a 1 GB file
15=68s or 1m to download a 1 GB file
2. In a client server network, given the differing download speeds between the clients it would take about 71 Minutes (note I rounded up).
3. There is no exact answer for the peer to peer case, because the upload won't be constant (as in the 20 Mb/s case of the server). This depends on which clients connect to eachother, since the upload speeds are twice that of their download speeds it will vary greatly on which clients connect to eachother
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.