SlideShare uma empresa Scribd logo
1 de 5
Caching and New Ways to Improve Response Time
                                Guson Kuntarto (2636177)


Abstract
This essay will be focused on how a web cache proxy server work that can improve the
end-user response time. To justify there is a significant improvement using a web cache
proxy server, an example from recent study about web caching technology will be used.
This is done by comparing the mean of response times that using a web cache and
without using a web cache.


1. Introduction
In the past few years, Internet usage especially World Wide Web (www) has been
increased exponentially [3]. This forces Internet service providers (ISP) to provide
bandwidth in order to satisfy the end-users. Because often end-users request large amount
of files from servers and send them over the Internet, without enough bandwidth that
available on the network the traffic congestion may be happened. Moreover, it may lead
to the increasing number of response times from end-users perspective. In other words,
end-users tend to wait a bit longer to be able to get information that they needed.


Alternatively, implementing a web cache proxy server could be a better solution.
Configurationally, it is placed between the Internet and the end-users that act to provide
services between end-users and the Internet by reducing the number of requests sent
across the Internet to the origin servers [1]. So, it has to provide a large amount of
dedicated temporary storage to serve users. In addition, it must contain an up-to-date data
or fresh data from the popular web sites that frequently accessed by end-users [1]. By
implementing a web cache proxy server Internet bandwidth usage can be saved and the
end-user response time can be reduced [1].


In the second section of this essay will be explained caching technology terminology. In
third section, it will explain how the web cache proxy server works. Then, some



                                             1
examples regarding to response time will be presented and compared in the section four.
Finally, conclusion will be drawn in the last section.


2. Terminology
“Cache” means to store of recent retrieved information for further reference [2]. Thus, a
web cache is a collection of locally stored of web objects such as web pages, embedded
and other types of digital objects retrieved over the Internet using the hypertext protocol
(HTTP) [1] [5]. It is maintained by a web browser and used for a private or not shared
[2]. Whereas, a web cache proxy server is essentially a shared web cache. A cache’s
program running on a dedicated server that archives and returns documents frequently
requested by a group of web clients such as squid [5].


Response time can be defined as the amount of latency that the end-user experiences
when requesting a web objects. This measurement starts when the web browser initiates a
request and completes when the server responds with the data [1].


3. How does the web cache proxy server work?
3.1. A web cache proxy server topology


                           Computer




                           Computer

                                          PROXY            ORIGIN
                                          SERVER           SERVER




                           Computer

                           Internal
                           Network


                Figure 3.1 – A simple topology of web cache proxy server


The web cache proxy server usually placed between the internal network and Internet as
it seen on figure 3.1. It plays important rules to copy a web objects close to the users and
maintain the freshness of the web object, so that user do not have to get the objects from
the origin servers [5]. By returning local copies of objects whenever possible, a caching



                                               2
proxy can improve response times; reduce network traffic and the effective bandwidth
available to end-users [5]. Caching proxies typically implement a cache replacement
policy including Least Recently Used (LRU), Least Frequently Used (LFU), and Hyper-
G to determine when web objects have to be removed from their archive [3][5].
Basically, LRU policy works to remove the documents that have not been accessed for
the longest time whereas LFU policy acts to delete the documents that are least frequently
asked by end-users [4]. Finally, Hyper-G performs by removing the documents, which
are LFU, and if it is found there are two items that have identical LFU, then it will delete
the one that is LRU. And if it is found two documents that have identical LFU and LRU,
Hyper-G policy will perform task to remove one that is larger [4].


3.2. Scenario of web cache proxy server

                                             WEB CACHE
                                            PROXY SERVER



                             Request                               Cache Miss

                    CLIENT

                                                                                WEB SERVER



                                       Cache Hit     Store/ access History



                                            CACHE VERSIONING



                    Figure 3.2 – scenario of web cache proxy server [6]


There are three scenarios that involve in web caching technology, including: cache-hit,
and cache-miss. Cache hit happen when the request from the users found the fresh copy
of data on the cache and sends it directly to the users [2]. Whereas, cache-miss happen
when the request from the users could not find the fresh copy of data that is requested on
the cache. The next task is proxy server will get the copy from the origin server, save it
on the cache for further usage and send it to the users [2]. From user perspective, as a
result of cache-hit, the response time is faster than when cache-miss is happened, because
when the cache-miss happened the proxy server has to perform task to find the fresh data
to origin server and send it to the users.




                                                      3
3.3. Web caching technique
The problem that would be faced in web cache technology is the cache interconnected to
the other cache. The web caching technique has been introduced including: Internet
Cache Protocol (ICP) and Cache Array Routing Protocol (CARP) [4]. ICP performs
using three basic messages: ICP Query, ICP_HIT and ICP_MISS for inter-cache
communication between cache and cache [4]. CARP performs HASH function to maps
string into integer [4]. By performing CARP, mirroring effect that occurs in ICP can be
solved [4].


4. Response time comparison




Figure 3.3 – Graphic cumulative distribution of request versus response time [7]


Recent study about web caching technology by Davison [7] uses NCS (Network Cache
Simulator) as a tool to get the response time accurately has been done. The experiment
was using a model simple topology of web cache proxy server, where the server attached
to the Internet with bandwidth 1,544 Mbps (T1) and the network latency is equal to 50
ms second, and 30 ms per-request overhead, whereas the client is connected to bandwidth
27,4 kbps with 200 ms of latency and requested 10000 Byte of files shows that in non-
persistence connection, the mean of response time without using a web cache proxy
server was equal to 5.5 second and with using a web cache proxy server the mean of
response time equal to 4.6 second [7]. This means there is a significant improvement that
equal to 0.9 second of response time using a web cache proxy server as it shows on the
figure 3.3. In addition, using persistent connections improves the mean of response time
in the condition where a web cache not in used drop to 5.1 second whereas with a web


                                           4
cache the mean of response time drops to 2.4 second [7]. This means there is a significant
improvement that equal to 1.7 second of response time using a web cache proxy server in
persistent condition. Thus, using a web cache proxy will improve response time
significantly.


5. Conclusion
In conclusion, implementing a web proxy server is essential as it can reduce response
time. This because a web proxy server serves the client by placing a popular copy of web
objects as near as possible to the users. So, every time user requests data to the proxy
using protocol HTTP, proxy servers can response immediately.


Reference:
[1] IMimic, 2001, “A primer on web caching technology and benefits”, p. 1- 5, [Online]
Available: http://www.imimic.com/documents/WPBackgroundTechBenefits.pdf accessed:
04/04/2005.
[2] Dutkiewicz E., 2005, “3rd Week lecture materials of content servers and caching
technologies”, School of Electrical, Computer, and Telecommunication Engineering, University
of Wollongong, p. 4- 40.
[3] Dutkiewicz E., 2005, “4th Week lecture materials of content servers and caching
technologies”, School of Electrical, Computer, and Telecommunication Engineering, University
of Wollongong, p. 4- 40.
[4] Wooster R. P., 1996, “Optimizing response time, rather than hit rates of www proxy caches, ”
(Master of Science, Virginia Polytechnic Institute and State University), [Online] Available:
http://scholar.lib.vt.edu/theses/available/etd34131420119653540/unrestricted/etd.pdf accessed:
04/07/2005.
[5] Powell J., 1997, “Web Caching: questions and answers,” p. 1- 3, [Online] Available:
http://scholar.lib.vt.edu/digilib/reports/dlcachetalk.pdf accessed: 04/07/2005.
[6] Yang J. and Li X, 2000, “Pachyderm: The web proxy that never forgets,” p. 1- 12, [Online]
Available: www.cs.wisc.edu/~junfengy/submit/Pachyderm.pdf accessed: 04/06/2005.
[7] Davison B. D., 2001, “NCS: Network and cache simulator An Introduction’, p. 1- 13, [Online]
Available: http://www.cse.lehigh.edu/~brian/pubs/2001/dcs-tr-444/dcs-tr-444.pdf accessed:
04/07/2005




                                                 5

Mais conteúdo relacionado

Mais procurados

A SPDYier Experience by Olaniyi Jinadu
A SPDYier Experience by Olaniyi JinaduA SPDYier Experience by Olaniyi Jinadu
A SPDYier Experience by Olaniyi JinaduOlaniyi Jinadu
 
Http request and http response
Http request and http responseHttp request and http response
Http request and http responseNuha Noor
 
Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overviewYoohyun Kim
 
Fight empire-html5
Fight empire-html5Fight empire-html5
Fight empire-html5Bhakti Mehta
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)webhostingguy
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol BasicChuong Mai
 
Http - All you need to know
Http - All you need to knowHttp - All you need to know
Http - All you need to knowGökhan Şengün
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocolAviran Mordo
 
Implementing Advanced Caching and Replication Techniques in ...
Implementing Advanced Caching and Replication Techniques in ...Implementing Advanced Caching and Replication Techniques in ...
Implementing Advanced Caching and Replication Techniques in ...webhostingguy
 
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICESA COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICESijcsit
 
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...nine
 
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboardsDenis Ristic
 
Introduction to HTTP
Introduction to HTTPIntroduction to HTTP
Introduction to HTTPYihua Huang
 

Mais procurados (20)

Http protocol
Http protocolHttp protocol
Http protocol
 
A SPDYier Experience by Olaniyi Jinadu
A SPDYier Experience by Olaniyi JinaduA SPDYier Experience by Olaniyi Jinadu
A SPDYier Experience by Olaniyi Jinadu
 
Http
HttpHttp
Http
 
Http request and http response
Http request and http responseHttp request and http response
Http request and http response
 
Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overview
 
Web-Socket
Web-SocketWeb-Socket
Web-Socket
 
ZN27112015
ZN27112015ZN27112015
ZN27112015
 
Fight empire-html5
Fight empire-html5Fight empire-html5
Fight empire-html5
 
HTTP
HTTPHTTP
HTTP
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
What's up with HTTP?
What's up with HTTP?What's up with HTTP?
What's up with HTTP?
 
Branch office access with branch cache
Branch office access with branch cacheBranch office access with branch cache
Branch office access with branch cache
 
Http - All you need to know
Http - All you need to knowHttp - All you need to know
Http - All you need to know
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
 
Implementing Advanced Caching and Replication Techniques in ...
Implementing Advanced Caching and Replication Techniques in ...Implementing Advanced Caching and Replication Techniques in ...
Implementing Advanced Caching and Replication Techniques in ...
 
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICESA COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
 
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
 
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards
 
Introduction to HTTP
Introduction to HTTPIntroduction to HTTP
Introduction to HTTP
 

Destaque

Winkelcentrum boven 't Y, Amsterdam-Noord, Toekomstplannen
Winkelcentrum boven 't Y, Amsterdam-Noord, ToekomstplannenWinkelcentrum boven 't Y, Amsterdam-Noord, Toekomstplannen
Winkelcentrum boven 't Y, Amsterdam-Noord, Toekomstplannencarlaschroder
 
Socialondemand newsondemand purechannelapps_2014
Socialondemand newsondemand purechannelapps_2014Socialondemand newsondemand purechannelapps_2014
Socialondemand newsondemand purechannelapps_2014Chris May
 
kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord
kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord
kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord carlaschroder
 
Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...
Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...
Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...Vitaliy Shabunin
 
Leadership Summit 2010 October
Leadership Summit 2010 OctoberLeadership Summit 2010 October
Leadership Summit 2010 OctoberAndrew Field
 
Corporate training - Mind Programming - Kushalta Academy
Corporate training - Mind Programming - Kushalta AcademyCorporate training - Mind Programming - Kushalta Academy
Corporate training - Mind Programming - Kushalta AcademyJohn Bhatt
 
Discovering and Helping Guide Christian Spiritual Progress
Discovering and Helping Guide Christian Spiritual ProgressDiscovering and Helping Guide Christian Spiritual Progress
Discovering and Helping Guide Christian Spiritual ProgressAndrew Field
 
File 2 office building
File 2 office buildingFile 2 office building
File 2 office buildingimecommunity
 
Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015
Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015
Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015Philip Young
 
Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Sunny Sharma
 
The beauty of food
The beauty of foodThe beauty of food
The beauty of foodzenmariku
 
Put your polling station on the map
Put your polling station on the mapPut your polling station on the map
Put your polling station on the mapFiifi Baidoo
 
Христиане должны были бы изменить общество
Христиане должны были бы изменить общество Христиане должны были бы изменить общество
Христиане должны были бы изменить общество Vitaliy Shabunin
 
Universal Design, Education and Technology
Universal Design, Education and TechnologyUniversal Design, Education and Technology
Universal Design, Education and TechnologyDamian T. Gordon
 

Destaque (20)

Winkelcentrum boven 't Y, Amsterdam-Noord, Toekomstplannen
Winkelcentrum boven 't Y, Amsterdam-Noord, ToekomstplannenWinkelcentrum boven 't Y, Amsterdam-Noord, Toekomstplannen
Winkelcentrum boven 't Y, Amsterdam-Noord, Toekomstplannen
 
การใช้งานคอมฯ (Pptx)
การใช้งานคอมฯ  (Pptx)การใช้งานคอมฯ  (Pptx)
การใช้งานคอมฯ (Pptx)
 
Socialondemand newsondemand purechannelapps_2014
Socialondemand newsondemand purechannelapps_2014Socialondemand newsondemand purechannelapps_2014
Socialondemand newsondemand purechannelapps_2014
 
kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord
kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord
kansen en knelpunten boven 't Y winkelcentrum Amsterdam-Noord
 
Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...
Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...
Как ваше служение может сделать вас конкурентными на рынке труда и поможет ва...
 
Leadership Summit 2010 October
Leadership Summit 2010 OctoberLeadership Summit 2010 October
Leadership Summit 2010 October
 
Corporate training - Mind Programming - Kushalta Academy
Corporate training - Mind Programming - Kushalta AcademyCorporate training - Mind Programming - Kushalta Academy
Corporate training - Mind Programming - Kushalta Academy
 
Discovering and Helping Guide Christian Spiritual Progress
Discovering and Helping Guide Christian Spiritual ProgressDiscovering and Helping Guide Christian Spiritual Progress
Discovering and Helping Guide Christian Spiritual Progress
 
File 2 office building
File 2 office buildingFile 2 office building
File 2 office building
 
Jesuitslideshow
JesuitslideshowJesuitslideshow
Jesuitslideshow
 
Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015
Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015
Facial beauty, ideal dimensions of the eyes, nose, mouth, dallas fall mtg 2015
 
Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013Exploring Git in Visual Studio 2013
Exploring Git in Visual Studio 2013
 
The beauty of food
The beauty of foodThe beauty of food
The beauty of food
 
Put your polling station on the map
Put your polling station on the mapPut your polling station on the map
Put your polling station on the map
 
Jesuitslideshow
JesuitslideshowJesuitslideshow
Jesuitslideshow
 
Христиане должны были бы изменить общество
Христиане должны были бы изменить общество Христиане должны были бы изменить общество
Христиане должны были бы изменить общество
 
Software Testing 5/5
Software Testing 5/5Software Testing 5/5
Software Testing 5/5
 
Superstitious Pigeons
Superstitious PigeonsSuperstitious Pigeons
Superstitious Pigeons
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Universal Design, Education and Technology
Universal Design, Education and TechnologyUniversal Design, Education and Technology
Universal Design, Education and Technology
 

Semelhante a UOW-Caching and new ways to improve response time (Paper)

Hybrid web caching framework for reduction of web
Hybrid web caching framework for reduction of webHybrid web caching framework for reduction of web
Hybrid web caching framework for reduction of webeSAT Publishing House
 
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...Hossam Al-Ansary
 
Implementing a Caching Scheme for Media Streaming in a Proxy Server
Implementing a Caching Scheme for Media Streaming in a Proxy ServerImplementing a Caching Scheme for Media Streaming in a Proxy Server
Implementing a Caching Scheme for Media Streaming in a Proxy ServerAbdelrahman Hosny
 
Enhancing proxy based web caching system using clustering based pre fetching ...
Enhancing proxy based web caching system using clustering based pre fetching ...Enhancing proxy based web caching system using clustering based pre fetching ...
Enhancing proxy based web caching system using clustering based pre fetching ...eSAT Publishing House
 
International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...ijcseit
 
Survey on caching and replication algorithm for content distribution in peer ...
Survey on caching and replication algorithm for content distribution in peer ...Survey on caching and replication algorithm for content distribution in peer ...
Survey on caching and replication algorithm for content distribution in peer ...ijcseit
 
An Optimization Technique of Web Caching using Fuzzy Inference System
An Optimization Technique of Web Caching using  Fuzzy Inference SystemAn Optimization Technique of Web Caching using  Fuzzy Inference System
An Optimization Technique of Web Caching using Fuzzy Inference Systempartha pratim deb
 
Enhanced Dynamic Web Caching: For Scalability & Metadata Management
Enhanced Dynamic Web Caching: For Scalability & Metadata ManagementEnhanced Dynamic Web Caching: For Scalability & Metadata Management
Enhanced Dynamic Web Caching: For Scalability & Metadata ManagementDeepak Bagga
 
Reducing download time through mirror servers
Reducing download time through mirror serversReducing download time through mirror servers
Reducing download time through mirror serverseSAT Publishing House
 
Reducing download time through mirror servers
Reducing download time through mirror serversReducing download time through mirror servers
Reducing download time through mirror serverseSAT Journals
 
Improving access latency of web browser by using content aliasing in
Improving access latency of web browser by using content aliasing inImproving access latency of web browser by using content aliasing in
Improving access latency of web browser by using content aliasing inIAEME Publication
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
Analysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systemsAnalysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systemsijfcstjournal
 
Analysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systemsAnalysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systemsijfcstjournal
 
Caching Techniquesfor Content Delivery
Caching Techniquesfor Content DeliveryCaching Techniquesfor Content Delivery
Caching Techniquesfor Content Deliverysanjoysanyal
 

Semelhante a UOW-Caching and new ways to improve response time (Paper) (20)

Hybrid web caching framework for reduction of web
Hybrid web caching framework for reduction of webHybrid web caching framework for reduction of web
Hybrid web caching framework for reduction of web
 
Swapnil_Chaudhari_paper
Swapnil_Chaudhari_paperSwapnil_Chaudhari_paper
Swapnil_Chaudhari_paper
 
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
 
Implementing a Caching Scheme for Media Streaming in a Proxy Server
Implementing a Caching Scheme for Media Streaming in a Proxy ServerImplementing a Caching Scheme for Media Streaming in a Proxy Server
Implementing a Caching Scheme for Media Streaming in a Proxy Server
 
Enhancing proxy based web caching system using clustering based pre fetching ...
Enhancing proxy based web caching system using clustering based pre fetching ...Enhancing proxy based web caching system using clustering based pre fetching ...
Enhancing proxy based web caching system using clustering based pre fetching ...
 
International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...International Journal of Computer Science, Engineering and Information Techno...
International Journal of Computer Science, Engineering and Information Techno...
 
Survey on caching and replication algorithm for content distribution in peer ...
Survey on caching and replication algorithm for content distribution in peer ...Survey on caching and replication algorithm for content distribution in peer ...
Survey on caching and replication algorithm for content distribution in peer ...
 
An Optimization Technique of Web Caching using Fuzzy Inference System
An Optimization Technique of Web Caching using  Fuzzy Inference SystemAn Optimization Technique of Web Caching using  Fuzzy Inference System
An Optimization Technique of Web Caching using Fuzzy Inference System
 
Enhanced Dynamic Web Caching: For Scalability & Metadata Management
Enhanced Dynamic Web Caching: For Scalability & Metadata ManagementEnhanced Dynamic Web Caching: For Scalability & Metadata Management
Enhanced Dynamic Web Caching: For Scalability & Metadata Management
 
Reducing download time through mirror servers
Reducing download time through mirror serversReducing download time through mirror servers
Reducing download time through mirror servers
 
Reducing download time through mirror servers
Reducing download time through mirror serversReducing download time through mirror servers
Reducing download time through mirror servers
 
50120140504023 2-3
50120140504023 2-350120140504023 2-3
50120140504023 2-3
 
50120140504023 2
50120140504023 250120140504023 2
50120140504023 2
 
Improving access latency of web browser by using content aliasing in
Improving access latency of web browser by using content aliasing inImproving access latency of web browser by using content aliasing in
Improving access latency of web browser by using content aliasing in
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
MODULE-5_CCN.pptx
MODULE-5_CCN.pptxMODULE-5_CCN.pptx
MODULE-5_CCN.pptx
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Analysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systemsAnalysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systems
 
Analysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systemsAnalysis of quality of service in cloud storage systems
Analysis of quality of service in cloud storage systems
 
Caching Techniquesfor Content Delivery
Caching Techniquesfor Content DeliveryCaching Techniquesfor Content Delivery
Caching Techniquesfor Content Delivery
 

Último

Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Último (20)

Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

UOW-Caching and new ways to improve response time (Paper)

  • 1. Caching and New Ways to Improve Response Time Guson Kuntarto (2636177) Abstract This essay will be focused on how a web cache proxy server work that can improve the end-user response time. To justify there is a significant improvement using a web cache proxy server, an example from recent study about web caching technology will be used. This is done by comparing the mean of response times that using a web cache and without using a web cache. 1. Introduction In the past few years, Internet usage especially World Wide Web (www) has been increased exponentially [3]. This forces Internet service providers (ISP) to provide bandwidth in order to satisfy the end-users. Because often end-users request large amount of files from servers and send them over the Internet, without enough bandwidth that available on the network the traffic congestion may be happened. Moreover, it may lead to the increasing number of response times from end-users perspective. In other words, end-users tend to wait a bit longer to be able to get information that they needed. Alternatively, implementing a web cache proxy server could be a better solution. Configurationally, it is placed between the Internet and the end-users that act to provide services between end-users and the Internet by reducing the number of requests sent across the Internet to the origin servers [1]. So, it has to provide a large amount of dedicated temporary storage to serve users. In addition, it must contain an up-to-date data or fresh data from the popular web sites that frequently accessed by end-users [1]. By implementing a web cache proxy server Internet bandwidth usage can be saved and the end-user response time can be reduced [1]. In the second section of this essay will be explained caching technology terminology. In third section, it will explain how the web cache proxy server works. Then, some 1
  • 2. examples regarding to response time will be presented and compared in the section four. Finally, conclusion will be drawn in the last section. 2. Terminology “Cache” means to store of recent retrieved information for further reference [2]. Thus, a web cache is a collection of locally stored of web objects such as web pages, embedded and other types of digital objects retrieved over the Internet using the hypertext protocol (HTTP) [1] [5]. It is maintained by a web browser and used for a private or not shared [2]. Whereas, a web cache proxy server is essentially a shared web cache. A cache’s program running on a dedicated server that archives and returns documents frequently requested by a group of web clients such as squid [5]. Response time can be defined as the amount of latency that the end-user experiences when requesting a web objects. This measurement starts when the web browser initiates a request and completes when the server responds with the data [1]. 3. How does the web cache proxy server work? 3.1. A web cache proxy server topology Computer Computer PROXY ORIGIN SERVER SERVER Computer Internal Network Figure 3.1 – A simple topology of web cache proxy server The web cache proxy server usually placed between the internal network and Internet as it seen on figure 3.1. It plays important rules to copy a web objects close to the users and maintain the freshness of the web object, so that user do not have to get the objects from the origin servers [5]. By returning local copies of objects whenever possible, a caching 2
  • 3. proxy can improve response times; reduce network traffic and the effective bandwidth available to end-users [5]. Caching proxies typically implement a cache replacement policy including Least Recently Used (LRU), Least Frequently Used (LFU), and Hyper- G to determine when web objects have to be removed from their archive [3][5]. Basically, LRU policy works to remove the documents that have not been accessed for the longest time whereas LFU policy acts to delete the documents that are least frequently asked by end-users [4]. Finally, Hyper-G performs by removing the documents, which are LFU, and if it is found there are two items that have identical LFU, then it will delete the one that is LRU. And if it is found two documents that have identical LFU and LRU, Hyper-G policy will perform task to remove one that is larger [4]. 3.2. Scenario of web cache proxy server WEB CACHE PROXY SERVER Request Cache Miss CLIENT WEB SERVER Cache Hit Store/ access History CACHE VERSIONING Figure 3.2 – scenario of web cache proxy server [6] There are three scenarios that involve in web caching technology, including: cache-hit, and cache-miss. Cache hit happen when the request from the users found the fresh copy of data on the cache and sends it directly to the users [2]. Whereas, cache-miss happen when the request from the users could not find the fresh copy of data that is requested on the cache. The next task is proxy server will get the copy from the origin server, save it on the cache for further usage and send it to the users [2]. From user perspective, as a result of cache-hit, the response time is faster than when cache-miss is happened, because when the cache-miss happened the proxy server has to perform task to find the fresh data to origin server and send it to the users. 3
  • 4. 3.3. Web caching technique The problem that would be faced in web cache technology is the cache interconnected to the other cache. The web caching technique has been introduced including: Internet Cache Protocol (ICP) and Cache Array Routing Protocol (CARP) [4]. ICP performs using three basic messages: ICP Query, ICP_HIT and ICP_MISS for inter-cache communication between cache and cache [4]. CARP performs HASH function to maps string into integer [4]. By performing CARP, mirroring effect that occurs in ICP can be solved [4]. 4. Response time comparison Figure 3.3 – Graphic cumulative distribution of request versus response time [7] Recent study about web caching technology by Davison [7] uses NCS (Network Cache Simulator) as a tool to get the response time accurately has been done. The experiment was using a model simple topology of web cache proxy server, where the server attached to the Internet with bandwidth 1,544 Mbps (T1) and the network latency is equal to 50 ms second, and 30 ms per-request overhead, whereas the client is connected to bandwidth 27,4 kbps with 200 ms of latency and requested 10000 Byte of files shows that in non- persistence connection, the mean of response time without using a web cache proxy server was equal to 5.5 second and with using a web cache proxy server the mean of response time equal to 4.6 second [7]. This means there is a significant improvement that equal to 0.9 second of response time using a web cache proxy server as it shows on the figure 3.3. In addition, using persistent connections improves the mean of response time in the condition where a web cache not in used drop to 5.1 second whereas with a web 4
  • 5. cache the mean of response time drops to 2.4 second [7]. This means there is a significant improvement that equal to 1.7 second of response time using a web cache proxy server in persistent condition. Thus, using a web cache proxy will improve response time significantly. 5. Conclusion In conclusion, implementing a web proxy server is essential as it can reduce response time. This because a web proxy server serves the client by placing a popular copy of web objects as near as possible to the users. So, every time user requests data to the proxy using protocol HTTP, proxy servers can response immediately. Reference: [1] IMimic, 2001, “A primer on web caching technology and benefits”, p. 1- 5, [Online] Available: http://www.imimic.com/documents/WPBackgroundTechBenefits.pdf accessed: 04/04/2005. [2] Dutkiewicz E., 2005, “3rd Week lecture materials of content servers and caching technologies”, School of Electrical, Computer, and Telecommunication Engineering, University of Wollongong, p. 4- 40. [3] Dutkiewicz E., 2005, “4th Week lecture materials of content servers and caching technologies”, School of Electrical, Computer, and Telecommunication Engineering, University of Wollongong, p. 4- 40. [4] Wooster R. P., 1996, “Optimizing response time, rather than hit rates of www proxy caches, ” (Master of Science, Virginia Polytechnic Institute and State University), [Online] Available: http://scholar.lib.vt.edu/theses/available/etd34131420119653540/unrestricted/etd.pdf accessed: 04/07/2005. [5] Powell J., 1997, “Web Caching: questions and answers,” p. 1- 3, [Online] Available: http://scholar.lib.vt.edu/digilib/reports/dlcachetalk.pdf accessed: 04/07/2005. [6] Yang J. and Li X, 2000, “Pachyderm: The web proxy that never forgets,” p. 1- 12, [Online] Available: www.cs.wisc.edu/~junfengy/submit/Pachyderm.pdf accessed: 04/06/2005. [7] Davison B. D., 2001, “NCS: Network and cache simulator An Introduction’, p. 1- 13, [Online] Available: http://www.cse.lehigh.edu/~brian/pubs/2001/dcs-tr-444/dcs-tr-444.pdf accessed: 04/07/2005 5