Question

2. Suppose within your Web browser you click on a link to obtain a Web page,...

2. Suppose within your Web browser you click on a link to obtain a Web page, and the Web page is consisting of one HTML text with eight referenced objects. Let RTT0 denote the RTT between the local host and the server containing the object, the link transmission bandwidth is R, and the HTML text file size is L0 and the reference objects have a size of L1, L2, L3, …, L8, respectively. How much time elapses from when the client clicks on the link until the client receives the object in the following scenarios?

a. Non-persistent HTTP with no parallel TCP connections?

b. Non-persistent HTTP with the browser configured for 9 parallel connections?

c. Persistent HTTP with no parallel TCP connection?

d. Persistent HTTP with the browser configured for 9 parallel connections?

Homework Answers

Answer #1

Elapsed time = 2RTT + transmit time

DNS lookup to get the II address is : RTT1 + RTT2 + RTT3 + .... RTTN. IP address leads to a hit (Yes) there are 2 RTTs as one RTT to setup TCP handshake 3 way connection and other RTT to request and receive the small or reference objects . Total response time is 2RTT0 + RTT1 + RTT2 + ... + RTTN

(a) RTT1+…+RTTn+2RTTO+8*2RTTO = 18* RTTO+ RTT1+…+RTTn.

(b) RTT1+…+RTTn+2RTTO+4*2RTTO = 10* RTTO+ RTT1+…+RTTn.

(c) RTT1+…+RTTn+2RTTO+RTTO = 3* RTTO+ RTT1+…+RTTn..

(d) RTT1+…+RTTn+2RTTO+4*RTTO = 6* RTTO+ RTT1+…+RTTn..

Hope this helps.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Assume the user is trying to access a web page, which is comprised from the base...
Assume the user is trying to access a web page, which is comprised from the base page plus 6 referenced images. All of the 7 objects have equal size and reside on the same server. Let T0 denote the RTT required for the initial TCP establishment and T1 the RTT required for receiving the base page. Calculate the time elapsed from the moment when the client clicks on the link until the moment he fully received the object using: a....
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is not cached in your local host, so a DNS lookup is necessary to obtain the IP address. Suppose that N DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RTT1, …, RTTN. Further suppose that the Web page associated with the link contains exactly one object,...
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is not cached in your local host, so a DNS lookup is necessary to obtain the IP address. Suppose that n DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RTT1, ... , RTTn. Further suppose that the Web page associated with the link contains exactly one...
Consider a web page that consists of one base html file and 20 jpg images. The...
Consider a web page that consists of one base html file and 20 jpg images. The base html file and 5 of the images are hosted at www.ucf.edu (UCF web server) and the other 15 images are hosted at www.google.com (Google Inc. web server). Assume that both the base html and 20 images are small enough to fit in one TCP segment each. Also, assume that our web browser is configured to have only one TCP connection at a time...
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The Stop-and Wait Protocol is being used to send three data characters ‘U’, ‘S’, and ‘A’, with each character in a separate packet. Suppose the channel causes every alternate data packet to be received with errors, starting with the first packet. This means the 1st, 3rd, 5th, etc. data packets are received with errors, while the 2nd, 4th, 6th, etc. data packets are received correctly....