Professional Documents
Culture Documents
10 Enhancing Performance of Proxy Cache Servers Using Daemon Process
10 Enhancing Performance of Proxy Cache Servers Using Daemon Process
sachin.chavan@nmims.edu; nareshlodha.nmims@gmail.com;
anukritirautela.nmims@gmail.com; kunalgupta.nmims@gmail.com;
1 Introduction
With the fast changing technology and people around the globe having access to
internet there has been significant growth in World Wide Web. There has been
rise in number of users and consumption of data has been increased. This has
notably contributed to increase in Web traffic. Web traffic leads to reduction in
bandwidth and increased access latency [11]. So lately there has been a lot of
significant research going on regarding the methods to reduce web traffic and
improve performance of web so as to decrease the response time and improve
access latency [15]. The most common method is the use of web proxy cache.
Web proxy caches have been established to reduce network traffic and work-load
Fig. 1. Architecture of Proxy Cache Server(Source [9])
2.2 Mirroring
Mirroring is used to keep several copies of the contents available on website
or web pages on multiple servers in order to increase the accessibility of the
content. This causes redundancy and hence, ensures high availability of the web
documents [3]. A mirrored site is the exact replica of the original site which is
regularly updated and reflects the updates done on the actual site.
2.3 Caching
Caching is used to improve the response time as well as the performance of
WWW Internet applications. Caching causes reduction in system load. Most
techniques cache static content such as graphic and text files [1] [9].
Static Caching: Static caching checks the log of yesterdays user requests to
predict the requests of the user for the present day. Static caching improves cache
performance by using compression techniques and also frees up the cache space.
The cache servers performance is decided by two factors: byte hit ratio, which is
the hit rate with respect to the total number of bytes in the cache and hit ratio
which shows the percentage of all accesses that are fulfilled by data in cache [8]
[10].
Dynamic caching: Dynamic caching regularly updates the content on the local
server in order to keep up with the updated content of the dynamic websites
which helps in avoiding the problem of stale data [8] [11].
3 Proposed Methodology
As the Data requested by the user is available in the Local Storage/Cache and
should be updated as same as the Origin Web Server which helps user to get
fresh and correct data or information which is been request by the user. Hence
it is known as Cache Hit [5][8].
Many sites on Web Server is updated frequently with in a Day, Hour or Week.
So the data stored with Proxy server should be updated accordingly but this
affect the performance of the Server, so the Server avoid to update the Data
frequently. Hence it gives the Data which is not updated as on the Origin Web
Server. This data is known as Stale Data [9] [11].
For all above factor we purpose the methodology of using Daemon process in
the Proxy Cache Server which will help us to avoid the Factors discussed above.
3.4 Algorithm
1. Start
2. Initialize Count=0; It shows no process is updated.
3. Check Server the Time with local system,
(a) If time is in between 2 to 5;
Proceed to Step 3.
(b) Else;
Stop.
4. Check for Active Users,
(a) If Number of Users are less than N (for example n=50);
Proceed to Step 5.
(b) Else;
Wait for m minutes (for example m=15 minutes) and then go to Step 2.
5. Check for Update
(a) If Yes,
i. Download New Content.
ii. Replace new content with old content.
iii. Generate Hash and Store it in Table [7].
iv. Count=Count+1 ; Proceed to Step 6.
(b) If No,
Count=Count+1;
Proceed to Step 6.
6. Check for Count is less than number of process
(a) If yes,
i. Fetch next process.
ii. Repeat Step 2, 3, 4 and 5 again
(b) Else; Terminate the Daemon Process.
7. Stop
Fig. 2. Flow chart of daemon process
WEB IMAGE
KEYWORDS WEB CACHE KEYWORDS WEB CACHE
SERVER SERVER SERVER SERVER
SVKM 250 140 SVKM 230 200
NMIMS 140 130 NMIMS 300 100
RCPIT 250 120 RCPIT 350 150
CANNON 240 130 CANNON 250 100
SAMSUNG 210 140 SAMSUNG 640 200
NOKIA 250 190 NOKIA 240 120
MATLAB 240 160 MATLAB 280 160
OPERA 250 150 OPERA 120 120
SIEMENS 230 160 SIEMENS 310 100
MICROMAX 160 140 MICROMAX 190 110
MPSC 170 140 MPSC 180 100
UPSC 210 150 UPSC 150 140
IRCTC 160 140 IRCTC 330 90
RRB 260 120 RRB 310 70
requested by user reply given from cache memory. Table shows the figures for
response time of search engine for some of the key-words of simple web search.
First column shows the response time when the page is retrieved from main
server and second column shows the figures when the pages are retrieved from
cache server present locally. Table also shows the response time of browser for
image search with same keywords.
image search. Among these keywords for some keywords we are getting 30-40
percent reduction in access latency but in some cases we are getting only 10-20
percent on access latency. The reason for no effect on access latency is that the
IMS requests send by the browser for freshness of data and if more updated copy
is present on web server then that updated copy fetched from main server.
5 Conclusion
Our paper proposes a novel methodology for implementing proxy cache server
by using the suggested algorithm. The proposed methodology states that the
Daemon Process will improve the performance of Proxy Cache Server in terms
of Cache Hit. The Daemon process guarantees that most of the time whenever
user access a Web pages the user gets the fresh content of Web page. As the
Daemon process is scheduled in the down time of Server it does not impose
addition load on to Server. Daemon Process runs in background and updates
the data available in Proxy cache without interfering the user processes. The
users are not interrupted due to schedule of Daemon process.
6 Future Scope
Currently, this Daemon process in system is working effectively with the websites
which are static in nature i.e. where the content is not updated frequently like
www.w3schools.com while the system is not effective with the dynamic websites
in which content is updated so often, such as, www.msn.com. In cases of dynamic
web-sites, the user will receive the stale data. Hence, an alternative method
is needed to be proposed along with the Daemon Process for overcoming this
problem.
Acknowledgments
We express our special thanks of gratitude to our Director Dr. Ram Gaud
(SVKMS NMIMS, Shirpur Campus). Also we would like to thank our Associate
Dean Dr. Nitin S. Choubey (MPSTME, Shirpur Campus)for his continuous sup-
port and guidance. We would like to acknowledge the support of the “Computer
Engineering Department” of Mukesh Patel School of Technology Management
and Engineering without which the completion of project would not have been
possible.
References
1. L. Breslau, Pei Cao, Li Fan, G. Phillips and S. Shenker, “Web caching and Zipf-like
distributions: evidence and implications,” INFOCOM ’99. Eighteenth Annual Joint
Conference of the IEEE Computer and Communications Societies. Proceedings.
IEEE, New York, NY, 1999, pp. 126-134 vol.1.
2. A. Mahanti, C. Williamson, D. Eager, “Traffic analysis of a Web proxy caching
hierarchy,” in IEEE Network, vol. 14, no. 3, pp. 16-23, May/Jun 2000.
3. Krishna Bharat, Andrei Broder, Jeffrey Dean, Monika R. Henzinger, “A COMPAR-
ISON OF TECHNIQUES TO FIND MIRRORED HOSTS ON THE WWW” in 4th
ACM Con-ference on Digital Libraries, 1999.
4. 1997. “Proceedings of the USENIX Symposium on Internet Technologies and Sys-
tems on USENIX Symposium on Internet Technologies and Systems” USENIX As-
soc., Berkeley, CA, USA.
5. Terence Kelly and Jeffrey Mogul. “Aliasing on the World Wide Web: prevalence
and per-formance implications”, Proceedings of the 11th international conference
on World Wide Web, 2002, ACM, New York, NY, USA, 281-292.
6. K. Jarvinen, M. Tommiska and J. Skytta, “Hardware Implementation Analysis of
the MD5 Hash Algorithm,” Proceedings of the 38th Annual Hawaii International
Conference on Sys-tem Sciences, 2005, pp. 298a-298a.
7. Takuya Asaka, Hiroyoshi Miwa, Yoshiaki Tanaka, “HASH-BASED QUERY
CACHING METHODS FOR DISTRIBUTED WEB CACHING IN WIDE AREA
NETWORKS” in IEICE TRANS. COMMUN., VOL.E82-B, No.6 June 1999.
8. S. B. Patil, Sachin Chavan, Preeti Patil, Sunita R Patil, “HIGH QUALITY DE-
SIGN TO ENHANCE AND IMPROVE PERFORMANCE OF LARGE SCALE
WEB APPLICATIONS” in International Journal of Computer Engineering and
Technology (IJCET).
9. Suryakant B Patil, Sachin Chavan, Preeti Patil, “HIGH QUALITY DESIGN AND
METHODOLOGY ASPECTS TO ENHANCE LARGE SCALE WEB SERVICES”
in International Journal of Advances in Engineering and Technology, March 2012.
10. Sachin Chavan, Nitin Chavan, “IMPROVING ACCESS LATENCY OF WEB
BROWSER BY USING CONTENT ALIASING IN PROXY CACHE SERVER”
in INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING and TECH-
NOLOGY.
11. Andrzej Sieminski, “THE IMPACT OF PROXY CACHES ON BROWSER LA-
TENCY” in International Journal of Computer Science and Applications.
12. Balachander Krishnamurthy, Craig E. Wills, “PROXY CACHE COHERENCY
AND REPLACEMENTTOWARDS A MORE COMPLETE PICTURE”, in 19th
IEEE Interna-tional Conference on Distributed Computing Systems, Austin, TX,
June 1999.
13. Kartik Bommepally, Glisa T. K., Jeena J. Prakash, Sanasam Ranbir Singh and
Hema A Murthy “Internet Activity Analysis through Proxy Log”, IEEE, 2010.
14. E-Services Team, “Changing Proxy Server by the Robert Gordon University, School
hill, Aberdeen, Scotland-2006.
15. Chen, W.; Martin, P.; Hassanein, H.S., “Caching dynamic content on the Web,”
Canadian Conference on Electrical and Computer Engineering, 2003, vol.2, no., pp.
947- 950 vol.2, 4-7 May 2003.
16. Sadhna Ahuja, Tao Wu and Sudhir Dixit “On the Effects of Content Compres-
sion on Web Cache Performance, Proceedings of the International Conference on
Information Technolo-gy: Computers and Communications, 2003.