Question

In: Computer Science

Suppose an HTML file references 4 very small objects (therefore total of 5 objects including the...

Suppose an HTML file references 4 very small objects (therefore total of 5 objects including the HTML file).  

The HTML file and the referenced objects are stored in a different server i.e. One server that has the HTML file and another server that contains all the referenced objects.

Neglecting transmission times, home much would have elapsed for all the objects to be loaded/received in

Part 1 (5 points): Persistence connection scenario

Part 2 (5 points): Non- persistence connection scenario

Assume that the round-trip delay is 40ms for each back and forth communication (even for establishing TCP connection). It is the same for both the servers.

Solutions

Expert Solution

The Hypertext Transfer Protocol (HTTP) is an application-level protocol that uses TCP as an underlying transport and typically runs on port 80. HTTP is a stateless protocol i.e. server maintains no information about past client requests.

1.persistent

2.Non-persistent

RTT-> Time for a small packet to travel from client to server and back.

RTT= 2*propagation time

In persistent Lower CPU and memory usage because there are less number of connections,Allows HTTP pipelining of requests and responses, Reduced network congestion (fewer TCP connections), Reduced latency in subsequent requests (no handshaking).

In Non-persistent  It requires connection setup again and again for each object to send.

according to Given,

persistence connection scenarion

Time taken=2RTT(connection time)+2*4RTT

=2*40+2*4*40

=80+320

=400ms

Non-persistence connection scenarion

Time Taken=2 RTT(connection time)+4

RTT=2*40+4*40

=80+160

240ms


Related Solutions

Referring to Problem 2 above, suppose the HTML file references ten very small objects on the...
Referring to Problem 2 above, suppose the HTML file references ten very small objects on the same server. Neglecting transmission time, how much time elapses with a. Non-persistent HTTP with no parallel TCP connections? b. Non-persistent HTTP with the browser configured for 3 parallel connections? c. Persistent HTTP? (Assume that pipelining is used.)
5. Create an HTML file that uses an array to store links for your three favorite...
5. Create an HTML file that uses an array to store links for your three favorite websites. Use a for loop to display each link URL within an alert dialog box. I would like to see the HTML page displaying the message.
Please compose a research paper of 3-5 pages (not including cover and references) about the future...
Please compose a research paper of 3-5 pages (not including cover and references) about the future trends of Long Term Care in the next 10 years. Hypothesize, how YOU think Long Term Care will be like in 2025 and support your theory with facts. What trends do you think would develop to face the future challenges? What regulations will be established? What laws will possibly be eliminated or reinforce if any? In your paper, include all aspects of long term...
Please compose a research paper of 3-5 pages (not including cover and references) about the future...
Please compose a research paper of 3-5 pages (not including cover and references) about the future trends of Long Term Care in the next 10 years. Hypothesize, how YOU think Long Term Care will be like in 2025 and support your theory with facts. What trends do you think would develop to face the future challenges? What regulations will be established? What laws will possibly be eliminated or reinforce if any?    In your paper, include all aspects of long term...
Write an (8-page paper including budgets) on Budgetary Planning with at least 5 references in APA...
Write an (8-page paper including budgets) on Budgetary Planning with at least 5 references in APA format and using Excel for your budgets. You may select any type of company you would like for this project and will be explaining your selection in the Company Overview section.
please write a 4-page essay on the comparison between us and European monetary policy including references.
please write a 4-page essay on the comparison between us and European monetary policy including references.
5. Give an example of a scatterplot for which |r| is very small, but for which...
5. Give an example of a scatterplot for which |r| is very small, but for which there is a very strong relationship between the explanatory and response variables. 6. What are three reasons |r|~ 0?
two very small spheres are initally neutral and separated by a distance of .44m. suppose that...
two very small spheres are initally neutral and separated by a distance of .44m. suppose that 3.9E13 electrons are removed from one sphere and placed on the other. what is the magnitude of the electrostatic force that acts on each sphere?
Suppose that there are only three people that live in a (very) small town: Eric, Greg,...
Suppose that there are only three people that live in a (very) small town: Eric, Greg, and Katie. The town is thinking of building a park which you can assume is a public good for these three individuals in the town. Based on the individuals’ demand schedules for the park, which are given below, calculate and graph the social marginal benefit curve for the park. Eric’s Demand Greg’s Demand Katie’s Demand Price per Acre Number of Acres Price per Acre...
1. Suppose that the price of Oranges is $4. In addition, suppose that the firm's total...
1. Suppose that the price of Oranges is $4. In addition, suppose that the firm's total costs are $32 and that the firm currently sells 110 Oranges. Given this information, what is this firm's total revenue? Use the following information to answer questions 2 through 5: The table below shows data for the production of avocados for an individual firm operating in a perfectly competitive market. Quantity of avocados Total Revenue Total Costs 0 0 10 10 60 30 20...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT