Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

e. [2 points] Suppose the link length is now 31010meter. Is there any significant gains using persistent HTTP with a single TCP connection? Prove

image text in transcribedimage text in transcribed

e. [2 points] Suppose the link length is now 31010meter. Is there any significant gains using persistent HTTP with a single TCP connection? Prove your answer either by calculation or explanation. f. [3 points] How long will it take for the client to get the whole 9 objects from the server if using HTTP/2 Server Push, which allows the server to send resources to the client before the client requests them? You may imagine that we can push all resources referenced in an HTML page when it receives the request for the HTML page. Please show your calculation and the final answer. Consider a 3107-meter link connecting a client to a server, over which a sender can transmit at a rate of 1,000,000 bits/sec in both directions. Suppose that packets containing data are 100,000 bits long, and packets containing only control messages (e.g., ACK, SYN) and/or requests are 2000 bits long (from HW1, you know that these data packets are longer than is typical on the Internet, but we are making a simplification here). To set up a TCP connection, a three-way handshake is a needed method that requires both the client and server to exchange SYN and ACK packets before actual data communication. (Don't worry about this if you don't know it, we will cover this later in class. Just assume that, before sending any data, the client sends the server a control packet, the server replies with a second control packet, and the client replies to that with a third control packet that also includes the request.) If the client/server use N parallel connections, assume each gets 1/N of the link bandwidth. Now consider the HTTP protocol, and suppose that each downloaded object is 100 Kbits long (so each can be perfectly fit into a data packet), and that the initial downloaded page (100 Kbits) contains references to 8 referenced objects. Assuming the signal propagation speed is 3108 m/s, the RTT between client and server only depends on propagation delay, and connections can transmit at their share of the link bandwidth (without worrying about flow control or congestion control). Answer question a - e. a. [3 points] How long will it take for the client to get the whole 9 objects from the server if using non-persistent HTTP with a single TCP connection? Please show your calculation and the final answer. b. [3 points] How long will it take for the client to get the whole 9 objects from the server if using non-persistent HTTP with enough parallel TCP connections to allow all requests in parallel? Please show your calculation and the final answer. c. [3 points] How long will it take for the client to get the whole 9 objects from the server if using persistent HTTP and a single TCP connection? Please show your calculation and the final answer. d. [1 points] In this question, what is the percent speedup for persistent HTTP over the non-persistent case? Overall, are these gains significant?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Networks

Authors: Andrew S. Tanenbaum, David J. Wetherall

5th edition

132126958, 978-0132126953

More Books

Students also viewed these Computer Network questions

Question

=+ How did the person view the people being led?

Answered: 1 week ago