Author:
Miłosierny Bartosz,Dzieńkowski Mariusz
Abstract
The subject of the research was the comparative analysis of three frameworks for building web applications, i.e. Express, Hapi and Koa, operating in the Node.js ecosystem. An experiment was prepared consisting of a number of scenarios, during which the server response times to incoming requests from the client were measured. As part of the work, server test applications handling HTTP requests (GET, POST, PUT, DELETE) performing typical data operations were implemented. The applications contained the same functionalities and were built using the three tested frameworks. In individual scenarios, 1000 requests of a given type were sent from independent clients, the times of successive responses were measured and their averages were calculated. On the basis of the obtained results, Hapi and Koa frameworks for GET, POST, PUT, DELETE requests, operating on one object or a string "Hello World!" have achieved the best, although very similar, response times. In the case of the GET request, the Koa framework proved to be the best for higher loads, achieving response times approximately 20% better than the Express framework. For high loads, the Hapi framework achieved the worst results, reaching over 2 times longer response times than the Koa framework.
Subject
Polymers and Plastics,General Environmental Science
Reference19 articles.
1. A. Wójcik, M. Wolski, J.B. Smołka, Performance analysis of the Symfony framework for creating modern web application based on selected versions, Journal of Computer Sciences Institute, 13, 293-297, 2019.
2. Global companies using Node.js in production, https://www.tothenew.com/blog/how-are-10-global-companies-using-node-js-in-production/, [04.11.2020]
3. G.A. Di Lucca, A. R. Fasolino, Testing web-based applications: The state of the art and future trends, Information and Software Technology 48, 1172–1186, 2006.
4. M. Greiff, A. Johansson, Symfony vs Express: A Server-Side Framework Comparison, Dissertation, 2019.
5. K. Lei, Y. Ma, Z. Tan, Performance comparison and evaluation of web development technologies in PHP, Python and Node.js, IEEE Computer Society, 661-668, 2014.
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献