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

Need help with as soon as possible if someone coulf help and explain 4. HTTP Pro

ID: 3913882 • Letter: N

Question

Need help with as soon as possible if someone coulf help and explain

4. HTTP Protocol (20 points) Consider a short link, over which a sender can transmit at a rate of 15,000 bits/sec in both directions. Suppose that packets containing data are 150,000 bits long, and packets containing only control (e.g., ACK or hand-shaking) are 150 bits long. Now consider the HTTP protocol and suppose that each downloaded object is 150,000 bits long, and that the initial downloaded object contains 10 referenced objects from the same sender (ignore the index page downloading time, and connection close time). (Proof is needed) a. What is the total time needed to receive all the 10 objects using non-persistent HTTP connections? b. Now consider persistent HTTP download, what is the total time to receive all the 10 objects?

Explanation / Answer

Transmission rate=15000 bits/sec.

object packet size=150,000 bits.

Ack or Hand-shaking packet size=150 bits.

HTTP works on TCP protocol.

TCP uses three-way Handshake for connection establishment.

Time to make a connection=(Total bits transfer)/Transmission Rate

(3*150)/15000=0.03 sec

time to transfer one object packet=(Total bits transfer)/Transmission Rate

150000/15000 =10 sec.

(a)In,case of non-persistence connection,connection gets close after each transmission of each object .Therefore to transfer 10 object ,it needed to make connection 10 times.

Total time to transfer 10 objects= 10*(0.03)+10*(10)

==>0.3+100

==>100.03 seconds.

(b)In,case of persistence connection,connection gets close only after transmission of all the 10 objects .

Therefore to transfer 10 object ,it needed to make connection only one time.

Total time to transfer 10 objects= 1*(0.03)+10*(10)

=(0.03+100)

100.003 seconds.

for any query please comment.

please upvote if find it helpful.

Thank you!.