Consider an HTTP server and client as shown in the figure below. Suppose that the RTT delay between the client and server is 20 msecs; the time a server needs to transmit an object into its outgoing link is 0.5 msecs; and any other HTTP message not containing an object has a negligible (zero) transmission time. Suppose the client again makes 50 requests, one after the other, waiting for a reply to a request before sending the next request.
Assume the client is using HTTP 1.1 and the IF-MODIFIED-SINCE header line. Assume 40% of the objects requested have NOT changed since the client downloaded them (before these 50 downloads are performed)
1. How much time elapses (in milliseconds) between the client transmitting the first request, and the completion of the last request?
1. (RTT * NUM_PACKETS) + (NUM_PACKETS * (PERCENT__NOT_CACHED / 100) * TRANS_DELAY) = (20 * 50) + (50 * ((100-40) / 100) * 0.5) = 1015 ms
The answer was: 1015