Question

In: Computer Science

Computer Networking Proxy Server Related Question: Please explain the caching algorithms of a web proxy server...

Computer Networking Proxy Server Related Question:

Please explain the caching algorithms of a web proxy server and include following concepts: Greedy Dual Size, least recently used, and least frequently used.

Solutions

Expert Solution

Caching algorithms of a web proxy server

To reduce response time for a web user one of the way is to use caching at proxy server. This caching algorithms has a very vital part in reducing the response time by caching a part of the document, because of which the performance is maximized.
This is good for the other users, when one user visits a page, a small part of that is stored as cache in the server so when some other user tries to access the same page later then the server doesn't have to go back to the main source to fetch the page and can directly send it to the user reducing the time.

Greedy Dual Size

This is a algorithm which is used in storing documents of varying sizes. The greedy-dual algorithm is determined by H. Here H is cost/size where the cost is for the document and the size is in bytes for the document. Based on the H value, priority can be given to a particular document.

Least recently used

When a page is heavily used it is known that this page will be used for some more time again. Similarly when a page is not used so frequently it will most likely be unused for a long time. This is where the algorithm comes which throws out a page which has been used for a long time when there is a fault in a page.

Least frequently used

This is a algorithm used in caching the least frequently used cache block, which is then removed whenever their is overflow in cache. The working of the algorithm is that it checks a page and the number of time it has been visited and if that number is greater than the page which is older than that, then it cannot be removed. And also if all the pages have same frequency then the last page will be removed.


Related Solutions

What is the definition Web caches (proxy server)? Explain it by drawing a diagram Could two...
What is the definition Web caches (proxy server)? Explain it by drawing a diagram Could two proxy servers be connected to each other? Justify your answer
Web Server is the computer that stores Web Server Software and Website. If you are running...
Web Server is the computer that stores Web Server Software and Website. If you are running some service like Food Panda which type of Hosting Server will be used. Answer your question by discussion and comparison of different types of web hosting? If you have low budget so what will be the best possible hosting plan in this situation? Justify your answer by logical reasoning.
A email application is an instance of a client-server model of computer networking. T/F Which of...
A email application is an instance of a client-server model of computer networking. T/F Which of the following command is used to list out process details in Unix system. mkdir process_a ls -;a bg ps -l -u $(whoami) Which of the file is used to sink the output of a process to Null. /dev/null /dev/tty /dev /dev/empty What does a pipe operator do? performs an OR operation takes input form a file and fees as input to other command it...
[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...
Graph theory unit. 1. List important computing algorithms in Computer Networking based on application of graph...
Graph theory unit. 1. List important computing algorithms in Computer Networking based on application of graph theory. 2. Explain following using an example. a. graph, edges and vertices of the graph, directed graph, in-degree and outdegree of vertex, incident, a path, a distance 3. What is the worst – case memory usage of DFS? 4. Does DFS find the shortest path from start node to some node w ?
1. Where do you access the setting configurations for a proxy server within IE? Question 22...
1. Where do you access the setting configurations for a proxy server within IE? Question 22 options: a) LAN settings b) WAN settings c) Network settings d) General settings
Computer/Network Security How do you implement write access through web server?
Computer/Network Security How do you implement write access through web server?
Explain the purpose and relationships between communications protocols, Server hardware,operating systems and web server software with...
Explain the purpose and relationships between communications protocols, Server hardware,operating systems and web server software with regards to designing, publishing and accessing a website?
Comment on why directed diffusion is a reasonable design choice with computer networks. Explain why caching...
Comment on why directed diffusion is a reasonable design choice with computer networks. Explain why caching is ineffective at accelerating performance of the algorithm.
Thoroughly explain the impacts of data structures and algorithms in the development and implementation of computer...
Thoroughly explain the impacts of data structures and algorithms in the development and implementation of computer programs using modern computer technologies.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT