Quiz 3: ID#

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

UNIVERSITY OF THE WEST INDIES

Department of Computing
COMP2190–Net Centric Computing
Sem. I, 2017
Lecturer: Dr. Daniel T. Fokum
Quiz 3: ID#:

Tuesday, September 26, 2017

Instructions: Answer all questions within the space provided. Please make sure your ID
number appears at the top of the page.

Calculators, smartphones, laptops, or notes are NOT permitted

Consider the scenario shown in the figure below in which a client wants to access a web server.
The web server is connected to the Internet by a link with a transmission capacity of 1 Gbps, i.e.,
1,000,000,000 bits per second. Now consider the case that the web server serves a base page, but

that the base page has three linked objects, each of which is served by the web server shown in
the figure above. Suppose now that (i) the base web page takes x1 seconds to transmit into the
Internet, and that the client-to-web server RTT is RTT1 , (ii) each linked object takes x2 seconds to
transmit into the Internet, (iii) persistent HTTP connections are used, with pipelining. How much
time is taken from when the client first clicks on the link to access a web page containing these
three linked objects until the page is displayed? Your answer should be in the form of a formula
involving x1 , RTT1 , and x2 . You should remember that HTTP runs over TCP. You do not have
to worry about DNS delays here. You can assume that “small” messages (i.e., messages that do
not contain a web page or an image) take zero time to transmit into a link, but do experience a
propagation delay.
2RTT1 + x1 + RTT1 + 3x2 [6]

1
COMP2190, Sem. I, 2017—Quiz 3: ID#: 2

UNIVERSITY OF THE WEST INDIES


Department of Computing
COMP2190–Net Centric Computing
Sem. I, 2017
Lecturer: Dr. Daniel T. Fokum
Quiz 3: ID#:

Tuesday, September 26, 2017

Instructions: Answer all questions within the space provided. Please make sure your ID
number appears at the top of the page.

Calculators, smartphones, laptops, or notes are NOT permitted

Consider the scenario shown in the figure below in which a client wants to access a web server.
The web server is connected to the Internet by a link with a transmission capacity of 1 Gbps, i.e.,
1,000,000,000 bits per second. Now consider the case that the web server serves a base page, but

that the base page has three linked objects, each of which is served by the web server shown in
the figure above. Suppose now that (i) the base web page takes x1 seconds to transmit into the
Internet, and that the client-to-web server RTT is RTT1 , (ii) each linked object takes x2 seconds
to transmit into the Internet, (iii) nonpersistent HTTP connections are used. How much time is
taken from when the client first clicks on the link to access a web page containing these three linked
objects until the page is displayed? Your answer should be in the form of a formula involving x1 ,
RTT1 , and x2 . You should remember that HTTP runs over TCP. You do not have to worry about
DNS delays here. You can assume that “small” messages (i.e., messages that do not contain a web
page or an image) take zero time to transmit into a link, but do experience a propagation delay.
2RTT1 + x1 + 3(2RTT1 + x2 ) [6]

You might also like