CS FundamentalsVery hardGATE CS · Product company CS fundamentals

A browser needs www.shop.example: the local resolver (RTT 2 ms) has nothing cached and contacts the root, TLD and authoritative servers iteratively (each RTT 40 ms). The page is a single small object fetched with non-persistent HTTP from a server 40 ms away. Ignoring transmission times, how long from typing the URL until the page arrives?

  1. A. 82 ms
  2. B. 162 ms
  3. C. 202 ms
  4. D. 200 ms

Correct answer: C. 202 ms

DNS: 2 ms to the local resolver plus 3 × 40 ms for root, TLD and authoritative = 122 ms. HTTP: 1 RTT for the TCP handshake and 1 RTT for request/response = 80 ms. Total 202 ms.

More Computer Networks questions

Exams that ask this topic