( All your answers must be justified with time tables) Suppose within your Web b
ID: 3742442 • Letter: #
Question
(All your answers must be justified with time tables)
Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is cached in your local host, so a DNS lookup is NOT necessary to obtain the IP address. Further suppose that the Web page associated with the link contains a small amount of HTML text referencing ten very small objects on the same server. Let RTT denote the round trip (propagation) time between the local host and the server containing the HTML text and the objects. Assuming zero transmission time of any of the small object referenced in the HTML text and the HTML text itself, how much time elapses from when the client clicks on the link until the client receives all the objects with the following models?
1.3 Persistent HTTP without pipelining.
1.4 Persistent HTTP with pipelining.
Explanation / Answer
After identifying the IP, RTT_0 is used for connection request and other RTT_0 is used for making the request to the URL webpage. Other RTT are used only once. The total response time can be given by the equation
2RTT_0 + RTT_1 + RTT_2 + ... + RTT_n
Total amount of time to get the IP address is as follows:
RTT_1 + RTT_2 + ... + RTT_n .
1.4
In case of persistent HTTP without pipelining. Two RTT_0 is used for each object and 2 RTT_0 are used for receiving the html file. Other RTT are used only once to get the IP address. Since we have 3 objects therefore 6RTT_0 for objects. The time elapses with persistent HTTP without pipelining is as follows:
8RTT_0 + RTT_1 + ... + RTT_n
1.4
In case of persistent HTTP with pipelining single RTT_0 is used for object and 2 RTT_0 are used for receiving the html file. Other RTT are used only once to get the IP address. The time elapses with persistent HTTP with pipelining is as follows:
3RTT_0 + RTT_1 + ... + RTT_n
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.