Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A client in a network with a proxy server requests a 4 MiB file from an internet

ID: 3880175 • Letter: A

Question

A client in a network with a proxy server requests a 4 MiB file from an internet server, fakeservername.com. The network’s proxy server has a 1.39 Mbps connection to fakeservername.com. The average response time between the network’s proxy server and the internet origin server (including RTT) is 4.3 seconds for a small “header-only” HTTP request/response. The file requested by the client is currently in the proxy server cache, but the proxy server relays the client’s request to the internet server with “if-modified since”. Assume that transmissions between the proxy and the origin servers are stream (not packets) at fullbandwidth, with negligible propagation delay. How much time is saved if the file has not been modified? (Give answer in seconds, without units, rounded to two decimal places, so for an answer of 1.4233 seconds you would enter "1.42" without the quotes.)

Explanation / Answer

File Size = 4 Mb

Speed from Proxy Server to Internet Server = 1.39 Mbps

Time taken to transfer file = 4 / 1.39 = 2.877 secs

Average response time = 4.3 secs

Time Saved if the file is not saved = 4.3 - 2.877 = 1.423 secs = 1.42 secs.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote