CS FundamentalsModerateGATE CS (PYQ pattern)

Requests first check the browser cache (20% hit, 0 ms). Misses go to a campus proxy that hits 40% of the requests it sees and replies in 10 ms; on a proxy miss the proxy spends its 10 ms and then fetches from the origin, adding 1.5 s. What is the average response time per request?

  1. A. 910 ms
  2. B. 728 ms
  3. C. 608 ms
  4. D. 1208 ms

Correct answer: B. 728 ms

Proxy-level average = 0.4 x 10 + 0.6 x (10 + 1500) = 910 ms; only 80% of requests reach the proxy: 0.8 x 910 = 728 ms. Ignoring the browser cache gives 910; applying both hit rates to the same requests (20% + 40% of all requests) gives 608.

More Computer Networks questions

Exams that ask this topic