Question 2 (Web Cache). Consider the following scenario where two schools of one university are installing...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Question 2 (Web Cache). Consider the following scenario where two schools of one university are installing web caches for users. (You only need to review the contents discussed in lectures in weeks 1-3 to complete this question.) Queue 2 School A gateway School A Proxy U Queue 1 2ms public Internet 20Mbps, 8ms 10Mbps, 2ms Proxy A original servers University Gateway 10Mbps, 2ms Queue 3 School B gateway /2ms wwwwww Proxy B School B Inside each school, the one-way propagation delay from each host to the school's gateway is 2ms. The link bandwidth is assumed to be infinity (sufficient large). The link bandwidth from each school's gateway to the university's gateway is 10Mbps, and one- way propagation delay is 2ms. The access link bandwidth from the university's gateway to the Internet is 20Mbps, and assume that the one-way propagation delay from the gateway to any server in the public Internet is 8ms. On average, the requests from each school to view the webpage (of the public Internet) arrive at the rate of 1000 requests per second and the webpage is 1000 bytes (which fits exactly one packet). Ignore the header size. The requests themselves are very small and we assume that they do not take any bandwidth. To analyse the delay, we model the system as there are three queues in the system: the downlink from the public Internet to the university's gateway (Queue 1); the downlink from the university's gateway to school A's gateway (Queue 2); the downlink from the university's gateway to school B's gateway (Queue 3). In this question, we only consider the propagation delay (uplink and downlink) and the waiting time at the three queues (downlink only). For example, in Queue 2, the arrival rate is 1000 10x10 packets per second, and the service rate is 10000 =1250 packets per second. The waiting time at the queue can be calculated as 1250-1000 = 0.004s= 4ms. You need to find out the waiting time by using the formula introduced in week 1, i.e., X. You do not need to know how this formula is derived at this stage). (1) Without cache, what is the average overall delay for each user to derive its requested webpage? (Only the propagation delays and the waiting delays at the queues are considered. All other delays are ignored.) (2) Now, caches can be installed at the school's gateway, so that 10% of the original requests can be served by the schools' proxies (proxies A and B). What is the average overall delay for each user to derive its requested webpage? (3) Now, cache can be installed at the university's gateway, so that 20% of the original requests can be served by the university's proxy (proxy U). What is the average overall delay for each user to derive its requested webpage? (4) Now, caches can be installed at all gateways (proxies A, B, and U). a% of the original requests can be served by the schools' proxies, and 6% of the original requests can be served by the university's proxy. However, due to the limited storage owned by the university's ICT department, we have 2a%+b% 20%. Calculate the average overall delay for each user to derive its requested webpage as a function of a and b and find the optimal a and b. (Note, a% and 6% are defined with respect to the original requests, do not use (1-a%) (1-b%), but to use (1-a%-b%) to calculate the rest of the requests served by the original Internet servers). Question 2 (Web Cache). Consider the following scenario where two schools of one university are installing web caches for users. (You only need to review the contents discussed in lectures in weeks 1-3 to complete this question.) Queue 2 School A gateway School A Proxy U Queue 1 2ms public Internet 20Mbps, 8ms 10Mbps, 2ms Proxy A original servers University Gateway 10Mbps, 2ms Queue 3 School B gateway /2ms wwwwww Proxy B School B Inside each school, the one-way propagation delay from each host to the school's gateway is 2ms. The link bandwidth is assumed to be infinity (sufficient large). The link bandwidth from each school's gateway to the university's gateway is 10Mbps, and one- way propagation delay is 2ms. The access link bandwidth from the university's gateway to the Internet is 20Mbps, and assume that the one-way propagation delay from the gateway to any server in the public Internet is 8ms. On average, the requests from each school to view the webpage (of the public Internet) arrive at the rate of 1000 requests per second and the webpage is 1000 bytes (which fits exactly one packet). Ignore the header size. The requests themselves are very small and we assume that they do not take any bandwidth. To analyse the delay, we model the system as there are three queues in the system: the downlink from the public Internet to the university's gateway (Queue 1); the downlink from the university's gateway to school A's gateway (Queue 2); the downlink from the university's gateway to school B's gateway (Queue 3). In this question, we only consider the propagation delay (uplink and downlink) and the waiting time at the three queues (downlink only). For example, in Queue 2, the arrival rate is 1000 10x10 packets per second, and the service rate is 10000 =1250 packets per second. The waiting time at the queue can be calculated as 1250-1000 = 0.004s= 4ms. You need to find out the waiting time by using the formula introduced in week 1, i.e., X. You do not need to know how this formula is derived at this stage). (1) Without cache, what is the average overall delay for each user to derive its requested webpage? (Only the propagation delays and the waiting delays at the queues are considered. All other delays are ignored.) (2) Now, caches can be installed at the school's gateway, so that 10% of the original requests can be served by the schools' proxies (proxies A and B). What is the average overall delay for each user to derive its requested webpage? (3) Now, cache can be installed at the university's gateway, so that 20% of the original requests can be served by the university's proxy (proxy U). What is the average overall delay for each user to derive its requested webpage? (4) Now, caches can be installed at all gateways (proxies A, B, and U). a% of the original requests can be served by the schools' proxies, and 6% of the original requests can be served by the university's proxy. However, due to the limited storage owned by the university's ICT department, we have 2a%+b% 20%. Calculate the average overall delay for each user to derive its requested webpage as a function of a and b and find the optimal a and b. (Note, a% and 6% are defined with respect to the original requests, do not use (1-a%) (1-b%), but to use (1-a%-b%) to calculate the rest of the requests served by the original Internet servers).
Expert Answer:
Related Book For
Statistics For Business And Economics
ISBN: 9780321826237
12th Edition
Authors: James T. McClave, P. George Benson, Terry T Sincich
Posted Date:
Students also viewed these computer network questions
-
The recent Democratic and Republican presidential state primary elections were highlighted by the difference in the way winning candidates were awarded delegates. In Republican states, the winner is...
-
Create an introduction as well as a conclusion for the following below Purpose of motivation in the workplace The concept of motivation has a central position across the field of psychology....
-
What is the importance of collecting and interpreting data and information about competitors? What practices should a firm use to gather competitor intelligence and why?
-
An 0.80-kg object is attached to one end of a spring, as in Figure 10.5, and the system is set into simple harmonic motion. The displacement x of the object as a function of time is shown in the...
-
What are the upper and lower limits, in years of residence, for the middle 50% (interquartile values) for the females earning more than $75? And what is the value of the interquartile range?
-
You are a senior financial analyst with IBM in its capital budgeting division. IBM is considering expanding in Australia. The new facility would require an initial investment in fixed assets of 5...
-
In its income statement for the year ended December 31, 2017, Anhad Company reported the following condensed data. Instructions (a) Prepare a multiple-step income statement. (b) Prepare a single-step...
-
For this exercise, instead of using the values in the challenge, ask the user for the number of shares, the share price, and the percent commission.For this exercise, instead of using the values in...
-
Which series has the highest beta. BraveNewCoin Liquid Index for Bitcoin 1D BNC Trading Brave Ne Yellow Green Blue Orange
-
In a random sample of 400 adults and 600 teenagers who watched a certain television program, 100 adults and 300 teenagers indicated that they liked it. construct a 96% confidence interval for the...
-
Why and how decided to pursue an mba health care management, include calculations of expenses opportunity costs. Analyse desired occupation determine compensation return and how long it will take to...
-
1.) Find and the Beta on the alibaba stock (to the S&P 500). 2) Write up a short analysis of what the beta on alibaba stock means and how you interpret it.
-
Describe 3 stock trading strategies and techniques. You must cite 2 different articles/sources. Do mention either basic calculations, how to interpret financial data and/or how to evaluate stock...
-
According to the trial balance, Economy Small Engine Repair's property, plant and equipment balances as at December 31, 2020 were as follows: Account Repair equipment Accumulated depreciation -...
-
1) How can a shorter and simpler supply chain reduce economic risk ? 2) Provide an example of bad labor conditions have experienced, have first -hand knowledge of, or have seen in a community. 3)...
-
A) Your great aunt Tullula has left you a $1,000,000 in her will. You never met your great aunt, but you know that she had a reputation for being cautious in how she spent her money. So it comes as...
-
Data 9.2 on page 540 introduces the dataset Cereal, which includes information on the number of grams of fiber in a serving for 30 different breakfast cereals. The cereals come from three different...
-
For each of the following data sets, compute , s2, and s. If appropriate, specify the units in which your answers are expressed. a. 4, 6, 6, 5, 6, 7 b. -$1, $4,-$3, $0,-$3,-$6 c. 3/5%, 4/5%, 2/5%,...
-
Forbes (Apr. 20, 2011) conducted a survey of the 20 largest public companies in the world. Of these 20 companies, 4 were banking or investment companies based in the United States. A total of 9 U.S....
-
Are short people short-changed when it comes to salary? According to Business Professors T. A. Judge (University of Florida) and D. M. Cable (University of North Carolina), tall people tend to earn...
-
In an air standard Otto cycle, the pressure and temperature at the start of compression stroke are 1 bar and \(30^{\circ} \mathrm{C}\), respectively. The temperature at the end of compression is...
-
What are the different bases for classification of an internal combustion engine? Explain with a neat sketch of various types of the engines.
-
The difference of total power produced and pumping power is known as: (a) Brake horse power (b) Indicated horse power (c) Net indicated horse power (d) None of the above
Study smarter with the SolutionInn App