Knowee
Questions
Features
Study Tools

2.2-11a. Local Web Caching (a). Consider the following scenario, in which a Web browser (lower) connects to a web server (above).  There is also a local web cache in the bowser’s access network.  In this question, we will ignore browser caching (so make sure you understand the difference between a browser cache and a web cache). Assume that the total Round Trip Time propagation, queueing and object transmission delay between the browser and web server (and including TCP setup time) is 250 msec; if the object is retrieved from the local web cache, this delay is only  10 msec.Suppose that 80 percent of the time when the browser makes a request, the requested object is found in the local web cache.  What is the average time (over all requests that the browser makes to this site) from when the browser issues the initial HTTP GET request until it is able to display the requested object?Group of answer choices250 msec220 msec420 msec230 msec58 msec88 msec120 msec

Question

2.2-11a. Local Web Caching (a). Consider the following scenario, in which a Web browser (lower) connects to a web server (above).  There is also a local web cache in the bowser’s access network.  In this question, we will ignore browser caching (so make sure you understand the difference between a browser cache and a web cache). Assume that the total Round Trip Time propagation, queueing and object transmission delay between the browser and web server (and including TCP setup time) is 250 msec; if the object is retrieved from the local web cache, this delay is only  10 msec.Suppose that 80 percent of the time when the browser makes a request, the requested object is found in the local web cache.  What is the average time (over all requests that the browser makes to this site) from when the browser issues the initial HTTP GET request until it is able to display the requested object?Group of answer choices250 msec220 msec420 msec230 msec58 msec88 msec120 msec

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

To calculate the average time from when the browser issues the initial HTTP GET request until it is able to display the requested object, we need to consider both scenarios: when the object is in the local web cache and when it is not.

  1. When the object is in the local web cache (which happens 80% of the time), the delay is 10 msec.
  2. When the object is not in the local web cache (which happens 20% of the time), the delay is 250 msec.

We can calculate the average time as follows:

(0.80 * 10 msec) + (0.20 * 250 msec) = 8 msec + 50 msec = 58 msec

So, the average time from when the browser issues the initial HTTP GET request until it is able to display the requested object is 58 msec.

This problem has been solved

Similar Questions

2.2-08. Download delays for 100 objects (HTTP 1.1 with local web caching). Consider an HTTP 1.1 client and server. The RTT delay between the client and server is 2 seconds.  Suppose the time a server needs to transmit an object into its outgoing link is 3 seconds.There is also a local web cache, as shown in the figure below, with negligible (zero) propagation delay and object transmission time. The client  makes 100 requests one after the other, waiting for a reply before sending the next request.  All requests first go to the cache (which also has a 2.0 sec. RTT delay to the server but zero RTT to the client).How much time elapses between the client transmitting the first request, and the receipt of the last requested object, assuming no use of the IF-MODIFIED-SINCE header line anywhere, and assuming that 50% of the objects requested are "hits" (found) in the local cache?Group of answer choices352 secs203 secs252 secs150 secs350 secs

Describe how Web caching can reduce the delay in receiving a requested object. Will Web caching reduce the delay for all objects requested by a user or for only some of the objects? Justify

In the context of Node.js performance, what is "caching"?(1 Point)A method for managing hardware devicesStoring frequently accessed data in memory to reduce redundant computations and speed up responsesThe process of creating static HTML templatesA type of routing strategy

Problem 1. Web and HTTP Quickies. a) True or false? A user requests a Web page that consists of some text and three images. For this page, the client will send one request message and receive four response messages. Give one or two sentences of explanation. b) True or false? The Date: header in the HTTP response message indicates when the object in the response was last modified. Give one or two sentences of explanation. c) Why do you think the HTTP protocols run on top of TCP rather than on UDP? d) What is an important difference between a web cache, and a browser cache? Your answer need only be a couple of sentences long. There are a number of correct answers here.

What is an important difference between a web cache, and a browser cache?

1/2

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.