Volume 15, Issue 3 (12-2018)                   JSDP 2018, 15(3): 123-133 | Back to browse issues page

XML Persian Abstract Print

Download citation:
BibTeX | RIS | EndNote | Medlars | ProCite | Reference Manager | RefWorks
Send citation to:

Deylami S, Farjami Y. Optimizing Web programs Response in Cloud Using Pre-processing, Case study Nginx, Varnish. JSDP. 2018; 15 (3) :123-133
URL: http://jsdp.rcisp.ac.ir/article-1-504-en.html
University of Qom
Abstract:   (231 Views)

The response speed of Web pages is one of the necessities of information technology. In recent years, renowned companies such as Google and computer scientists focused on speeding up the web. Achievements such as Google Pagespeed, Nginx and varnish are the result of these researches. In Customer to Customer(C2C) business systems, such as chat systems, and in Business to Customer(B2C) systems, such as online stores and banks, the power and speed of the system’s response to the high volume of visitors are very effective in customer satisfaction and the efficiency of the business system. Increasing the speed of web pages from the origin of the advent of this technology, used from known and proven methods such as preprocessing, cookie, Ajax, cache and so on, to speed up the implementation of Internet applications, but it still needs to increase the speed of running and operating systems under the web.
Recently, successful and effective methods and tools devised to increase the loading speed of Web pages, which consist mainly two approaches, increasing the speed on the client-side user and increasing the speed of the server-side.
Research and technology on the performance and speed of Web technology on server side are divided into two categories of content enhancements, such as the Google Page Speed tool and Web server performance improvements such as Reverse Proxies. Reverse proxy is the most effective way to increase the speed on the server-side. Web server performance is measured by various metrics such as process load, memory usage and response speed to requests. Reverse proxy technology has been implemented in the Varna and Engineer systems. Implementing the reverse proxy in Varna has focused on caching processing content and on the engineering to cache static content.
Our goal is to evaluate the performance of these two systems as reverse proxies to improve the response speed and loading of web pages in two types of dynamic (processing) and static (multimedia) content and provide a framework for the appropriate selection of a reverse proxy on web servers.
In this paper, we introduce reverse proxy and analyze the performance of the four web servers, namely apache + varnish, nginx, nginx + varnish and apache, with both static and dynamic content, in terms of response speed of web pages as a measure of performance. First, our results show that, using a reverse proxy response speed is increased. Second, the resulted speed up is related not only to web server type but also to the content type of web pages requested repeatedly. Finally, a ranking is provided which helps to select the appropriate web server and reverse proxy when the web content type is static (multimedia) or dynamic (processed).

Full-Text [PDF 5353 kb]   (85 Downloads)    
Type of Study: Research | Subject: Paper
Received: 2017/04/19 | Accepted: 2018/07/25 | Published: 2018/12/19 | ePublished: 2018/12/19

1. [1] M. Firtman, High Performance Mobile Web: Best Practices for Optimizing Mobile Web Apps. O'Reilly Media, 2016.
2. [2] J. Wagner, Web Performance in Action: Building Faster Web Pages. Manning Publications, 2017.
3. [3] D. Aivaliotis, Mastering Nginx. Packt Publishing Ltd, 2016.
4. [4] T. Feryn, Getting Started with Varnish Cache: Acc-elerate Your Web Applications, O'Reilly Media, 2017.
5. [5] Apache Foundation, Apache HTTP Server 2.2 Official Documentation. Vol. I-III, Apache Sof-tware Foundation, 2010.
6. [6] S. Corona, Nginx: A Practical Guide to High Per-formance, O'Reilly Media, 2017.
7. [7] R. Moutinho, Instant Varnish Cache How-to. Packt Publishing Ltd.‌, New York, 2013.
8. [8] P. H. Kamp, You're doing it wrong. Communi-cations of the ACM vol. 53 no.7, pp. 55-59, 2010. [DOI:10.1145/1785414.1785434]
9. [9] Web Page Test, Test a website's performance, Available: http://www.webpagetest.org/, [Access-ed: Sept. 1, 2015].
10. [10] GTmetrix, Website Speed and Performance Optimization, Available: http://gtmetrix.com/, [Accessed: Sept. 1, 2015].
11. [11] Pingdom, Website & Performance Monitoring, Available: http://tools.pingdom.com/fpt/, [Acc-essed: Sept. 1, 2015].
12. [12] S. Bakhtiyari, Performance Evaluation of the Apache Traffic Server and Varnish Reverse Proxies, Master Thesis, Dept. of Informatics, Univ. of Oslo, Oslo, Norway, May 23, 2012.
13. [13] L. D. Tobias, Caching HTTP A comparative study of caching reverse proxies Varnish and Nginx, Master Thesis, School of Informatics, Univ. of Skövde, Skövde, Sweden, June 8, 2014.
14. [14] N. Mathieu, Magento Site Performance Optimi-zation, Packt Publishing, 2014.
15. [15] B. T. Teklehaimanot, Virtualization of Video Streaming Functions. Ph.D. diss., Dept. of Computer Sciences, Univ. of Saarlandes, Saarb-rücken, Germany, 2016.
16. [16] D. Kumar, V. Tyagi, and M. Vijay, With High Level Fragmentation of Dataset, Load Balancing in Cloud Computing. Int. Journal of Innovations & Advancement in Computer Science, Vol 3, Issue 5, 2014.
17. [17] R. DiCosmo, S. Zacchiroli and G. Zavattaro, Aeolus: A component model for the cloud. J. In-formation and Computation, Vol. 239, pp. 100-121, 2014. [DOI:10.1016/j.ic.2014.11.002]
18. [18] A. Grocevs, N. Prokofyeva, Modern approaches to reduce webpage load times, J. Env. Tech. Resources, 2015, Vol. 3, pp. 87-91, 2015.
19. [19] J. Andjarwirawan, I. Gunawan and E. Kusumo, Varnish Web Cache Application Evaluation. Proc. Intelligence in the Era of Big Data, 4th Int. Conf. on Soft Computing, Intelligent Systems, and Information Technology, pp. 404-410, Sprin-ger,‌ 2015. [DOI:10.1007/978-3-662-46742-8_37]
20. [20]‌ A. Loechel and S. Schmid, Comparison of Different Caching Techniques for High-Per-formance Web Map Services. Int. Journal of Spatial Data Infrastructures Research, Vol. 8, pp. 43-73, 2013.
21. [21] J. Nogueira, D. Gonzalez, L. Guardalben and S. Sargento. Over-The-Top Catch-up TV content-aware caching. 2016 IEEE Symposium on Com-puters and Communication (ISCC), pp. 1012-1017. IEEE, 2016. [DOI:10.1109/ISCC.2016.7543869]
22. [22] P. A. Baeza, Integración de un proxy inverso Varnish Cache con un panel de control Virtualmin para crear una plataforma de servicios de hospedaje Web. Thesis, Dept. Tècnica Sup-erior d'Enginyeria Informàtica, Univ. Politècnica de València, Valencia, Spain, 2015.
23. [23] L. P. Petroski, J. Matos, and J. E. Bertotti. Analysis of an event oriented web server as a reverse proxy with flexible load distribution. Ibe-roamerican Journal of Applied Computing, Vol. 4, no. 2, 2016.‌
24. [24] A. Martínez-Álvarez, S. Cuenca-Asensi, A. Ortiz, J. Calvo-Zaragoza, and L. A. V. Tejuelo, Tuning compilations by multi-objective optimization: Application to apache web server, Journal of Applied Soft Computing, Vol. 29, pp. 461-470.‌ 2016.
25. [25] D. S. Berger, K. R. Sitaraman and M. Harchol-Balter. AdaptSize: Orchestrating the Hot Object Memory Cache in a Content Delivery Network. 14th USENIX Symposium on Networked Sys-tems Design and Implementation, pp. 483-498. 2017. [PMID]
26. [26] R. Viscomi, A. Davies and M. Duran: Using WebPageTest, Web Performance Testing for Novices and Power Users. O'Reilly Media, Octo-ber 2015.
27. [27] L. Čegan, Intelligent preloading of websites resources based on clustering web user sessions. 5th International Conference on IT Convergence and Security, pp. 1-4. IEEE, 2015.
28. [28] L. Čegan, Performance Evaluation of Preloading Resources for Web Pages, Advanced Computer and Communication Engineering Technology. Lecture Notes in Electrical Engineering, Vol. 362. Springer, 2016.

Add your comments about this article : Your username or Email:

Send email to the article author

© 2015 All Rights Reserved | Signal and Data Processing