Assume you request a webpage consisting of one document and five images. The doc
ID: 3803441 • Letter: A
Question
Assume you request a webpage consisting of one document and five images. The document size is 1 Kbyte, all images have the same size of 50 Kbytes, the download rate is 1 Mbps, and the RTT is 100 ms. How long does it take to obtains the whole webpage under the following conditions? (Assume no DNS name query is needed and the impact of the request line and the headers in the HTTP messages is negligible). Nonpersistent HTTP with serial connections. Nonpersistent HTTP with two parallel connections. Nonpersistent HTTP with six parallel connections. Persistent HTTP with one connection.Explanation / Answer
Solution:
a) nonpersistent HTTP with Serial connections:
Total time : RTT1 + … +RTTn + 2RTT + 3* (2RTT0). =6*RTT + 2RTT +3*2*RTT =14*100 ms + Propagation Delay =1400 ms + 251k/1M=1651 ms=1.651 ms
ii. nonpersistent HTTP with two parallel TCP connections: *
Total time : RTT1 + … + RTTn + 2RTT0 + 2RTT0.
Total time : RTT1 + … +RTTn + 2RTT + 3* (2RTT0). =6*RTT + 2RTT +2*RTT =10*100 ms + Propagation Delay =1400 ms + 251k/1M=1651 ms=1.251 ms
c)
ii. nonpersistent HTTP with six parallel TCP connections: *
Total time : RTT1 + … + RTTn + 2RTT0 + 2RTT0.
Total time : RTT1 + … +RTTn + 2RTT + 3* (2RTT0). =6*RTT + 2RTT +2*RTT =10*100 ms + Propagation Delay =1400 ms + 251k/6*1M=1651 ms=1.051 ms
d. persistent HTTP with pipelining: Total time : RTT1+ … + RTTn + 2RTT0 + RTT0. =9 RTT + Propagation Delay = 1.251 ms
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.