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

The nearest Amazon server from UA is in Fort Worth, TX. The optic fiber cable co

ID: 3794060 • Letter: T

Question

The nearest Amazon server from UA is in Fort Worth, TX. The optic fiber cable connection between UA and the Amazon server is 30 miles long and the propagation speed through the optic fiber cable is that of light. The transmit rate and receive rate is 10 Gbps. Now consider the HTTP protocol, and suppose that initial downloaded page from Amazon server is 10,000 bits long, and that the initial downloaded page contains 6 referenced objects from the Amazon server. Each referenced object is 5,000 bits long. Assume packets containing only control signals (ACK or handshaking) are 200 bits long. Answer the below questions. Assume that N parallel connections each get 1/N of the link bandwidth.

a. What would be the total time required to download the complete page using non-persistent HTTP? (8 Points)

b. What would be the total time required to download the complete page using 3 parallel instances of non-persistent HTTP? (8 Points)

c. What would be the total time required to download the complete page using persistent HTTP? (8 Points)

d. Which is better non-persistent HTTP or persistent HTTP? (

Explanation / Answer

C ANS)

Assume inside your Internet program you tap on a connection to get a Page.

The IP address for the related URL is not reserved in your nearby host, so a DNS query is vital
Assume inside your Internet program you tap on a connection to get a Page.

The IP address for the related URL is not reserved in your nearby host, so a DNS query is vital

to acquire the IP address. Assume that n DNS servers are gone by before your host gets the IP

address from DNS; the progressive visits acquire a RTT of RTT1,...,RTTn. Additionally assume that the

to acquire the IP address. Assume that n DNS servers are gone by before your host gets the IP

address from DNS; the progressive visits acquire a RTT of RTT1,...,RTTn. Additionally assume that the

Page related with the connection contains precisely one protest, comprising of a little measure of

HTML content. Let RTT0 mean the RTT between the nearby host and the server containing the question.

Accepting zero transmission time of the question, how much time slips by from when the customer taps on

the connection until the customer gets the protest?

Reply:

The aggregate sum of time to get the IP address is

RTT1 + RTT2 +L+ RTTn

.

d) ANS

Non-persistent and persistent

HTTP/1.0

server parses ask for, reacts, and closes TCP association

2 RTTs to bring each protest

Each protest exchange experiences moderate begin

Diligent

default for HTTP/1.1

on same TCP association: server, parses ask for, reacts, parses new demand,..

Customer sends demands for every referenced question when it gets base HTML.

Less RTTs and less moderate begin.

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