CS FundamentalsHardGATE CS

A page has a base HTML file and 6 small embedded images on the same server. The RTT is 20 ms and transmission times are negligible. With persistent HTTP/1.1 WITHOUT pipelining (one connection), how long does it take from starting the TCP handshake until the last image arrives?

  1. A. 280 ms
  2. B. 60 ms
  3. C. 160 ms
  4. D. 120 ms

Correct answer: C. 160 ms

One RTT for the handshake, then each of the 7 objects needs its own request–response RTT: 8 × 20 = 160 ms. 280 ms is non-persistent (2 RTT per object), 60 ms is persistent with pipelining, and 120 ms is non-persistent with 3 parallel connections.

More Computer Networks questions

Exams that ask this topic