Question

In: Computer Science

Consider the following institutional network that is connected to the Internet. Suppose that the average object...

Consider the following institutional network that is connected to the Internet. Suppose that the average object size is 240,000 bits and that the average request rate from the institution’s browsers to the origin servers is 62 requests per second. Also suppose that the amount of time it take from when the router on the Internet side of the access link forwards an HTTP request until it receives the response is 1.5 seconds on average (see Section 2.2.5). Model the total average response time as the sum of the average access delay (that is, the delay from Internet router to institution router) and the average Internet delay. For the average access delay, use α/(1- αλ), where α is the average time required to send an object over the access link and λ is the arrival rate of objects to the access link. a. Find the total average response time. b. Now suppose a cache is installed in the institutional LAN. Suppose the hit rate is 0.3. Find the total average response time.

Solutions

Expert Solution

a). The time taken to transmit an object size L=Object size / Access Link Capacity

= (240000 bits) / (15,000,000 bits/sec) =0.016 seconds

The traffic intensity on the link = (62 requests/sec) * (0.016 sec/request) = 0.992.

The average access delay = (0.016 sec) / (1 - 0.992) = 2 seconds

The total average response time = 2 sec + 1.5 sec = 3.5 seconds

b).  The average access delay = Time taken to transmit an object / 1-(hit rate * traffic intensity)

=(0.016 sec)/[1 – (0.3)*(0.992)] = 0.022 seconds

The response time is approximately zero if the request is satisfied by the cache.

Average response time for cache misses = average access delay+time taken by http protocol to response to router

=0.022 sec + 1.5 sec = 1.522 seconds

So the average response time =hit rate * response time taken by cache to hit+miss rate * response time taken by cache to miss

=(0.7)(0 sec) + (0.3)(1.522 sec) = 1.24 seconds.

Thus the average response time is reduced from 3.5 seconds to 1.24 seconds.


Related Solutions

[Analytical Question] Caching. We have an enterprise network connected to the Internet. Assume the average web...
[Analytical Question] Caching. We have an enterprise network connected to the Internet. Assume the average web request rate from this network’s browsers is 22 requests per second, and average object size transferred is 1,000,000 bits. Also assume the capacity of the institutional link providing access of this enterprise to the internet is 20Mbps. Model and estimate the average response time for this enterprise with and without a proxy server assuming a hit rate of 60% for the proxy server. Group...
List down the basic components of network through which you are connected to internet and troubleshoot...
List down the basic components of network through which you are connected to internet and troubleshoot them each one by starting from your own system using cmd.
I have an access link to the internet (Institutional Router to Internet Router) that is 1...
I have an access link to the internet (Institutional Router to Internet Router) that is 1 Gbps access link. Suppose that on my network there are typically 1000 Requests/second going to the Internet that are each 1 Mbits. Calculate the traffic intensity on the access link. What does this number imply about delays on my network?
In a    network topology, all network devices are connected to a common backbone that serves as...
In a    network topology, all network devices are connected to a common backbone that serves as a shared communications medium.
An Internet user wants to know the average download speed for his Internet connection. Suppose we...
An Internet user wants to know the average download speed for his Internet connection. Suppose we know that the standard deviation is 7 mbps. He runs a speed test everyday at noon for 30 days. The average speed of the tests was 13.68 mbps. Construct a 95% confidence interval for the average speed of this Internet connection at noon.
Suppose you have a connected network of two-way streets. Show that you can drive along these...
Suppose you have a connected network of two-way streets. Show that you can drive along these streets so that you visit all streets and you drive along each side of every street exactly once. Further, show that you can do this such that, at each intersection, you do not leave by the street you first used to enter that intersection unless you have previously left via all other streets from that intersection
Your current infrastructure includes an internet connection, which is connected to the ISP Router, connected to...
Your current infrastructure includes an internet connection, which is connected to the ISP Router, connected to the firewall, connected to the network switch. Within the network you have an online store, a web server that provides internet information for employees only as well a file server that is used to save pet pictures of customers. More Information -Online Store – HP Procurve server – average transactions completed – 1500 per day. -Web Server – Dell EMC server - Portal server...
Computer network Consider the high-speed Internet services available for a major metropolitan area with more than...
Computer network Consider the high-speed Internet services available for a major metropolitan area with more than two million residents. Discuss what physical medium(s) should be used for providing residential Internet access, enterprise Internet access (at companies and schools), and public Internet access (at shopping malls, train stations etc.). Briefly justify your answers from both budget and quality of service factors. Note that there might be multiple correct answers to each of the questions.
Consider a “system with two lenses in tandem”. Suppose that you have an object that is...
Consider a “system with two lenses in tandem”. Suppose that you have an object that is located P1to the left of a lens with F1 focal length. Then suppose that you have a second lens with F2 focal length, and you place this lens D downstream of the first lens. Let us say that the final image of the optical system forms Q2 past the second lens. The two lenses are one after another, or in tandem. (a) Draw a...
What is encapsulation and why is it important for network communication on the internet?
What is encapsulation and why is it important for network communication on the internet?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT