The comparative analysis of web applications frameworks in the Node.js ecosystem
Article Sidebar
Open full text
Issue Vol. 18 (2021)
-
Natural interfaces in VR - comparative analysis
Dawid Majdanik, Adrian Madoń, Tomasz Szymczyk1-6
-
Comparative analysis of solutions used in Automated Testing of Internet Applications
Magdalena Psujek, Aleksandra Radzik, Grzegorz Kozieł7-14
-
Evaluation of the Kinect controller precision
Piotr Mieszawski, Tomasz Szymczyk15-21
-
Analysis of modern human-computer interfaces
Michał Cioczek, Tomasz Czarnota, Tomasz Szymczyk22-29
-
Comparative analysis of tools for the integration of IT systems
Narzędzia do integracji systemów informatycznych - analiza porównawczaVladyslav Shkuta, Marek Miłosz30-36 -
Comparison of frameworks for creating web services using the Axis2/C and gSOAP examples
Roman Bondarev, Beata Pańczyk37-41
-
The comparative analysis of web applications frameworks in the Node.js ecosystem
Bartosz Miłosierny, Mariusz Dzieńkowski42-48
-
Human-social interaction robots to improve shared attention in children with autism
Ali Ashrafi49-54
-
Selection of the type of cooling for an overclocked Raspberry Pi 4B minicomputer processor operating at maximum load conditions
Jakub Machowski, Mariusz Dzieńkowski55-60
-
Comparison of the performance of relational databases PostgreSQL and MySQL for desktop application
Bartłomiej Klimek, Maria Skublewska-Paszkowska61-66
Main Article Content
DOI
Authors
bartosz.milosierny@pollub.edu.pl
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.
Keywords:
References
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. DOI: https://doi.org/10.35784/jcsi.1322
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]
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. DOI: https://doi.org/10.1016/j.infsof.2006.06.006
M. Greiff, A. Johansson, Symfony vs Express: A Server-Side Framework Comparison, Dissertation, 2019.
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. DOI: https://doi.org/10.1109/CSE.2014.142
I.K. Chaniotis, K.D. Kyriakou, N.D. Tselikas, Is Node.js a viable option for building modern web applications? A performance evaluation study, Computing 97 (10), 1023-1044, 2015. DOI: https://doi.org/10.1007/s00607-014-0394-9
Rozpoczęcie pracy z Node.js, https://riptutorial.com/pl/node-js, [07.11.2020].
R.T. Fielding, Architectural Styles and the Design of Network-based Software Architectures, Doctoral dissertation, University of California, 2000.
Wstęp do REST API, https://devszczepaniak.pl/wstep-do-rest-api/, [04.11.2020].
Mastering REST, https://medium.com/@ahmetozlu93/mastering-rest-architecture-rest-architecture-details-e47ec659f6bc, [04.11.2020].
Postman, https://www.postman.com/, [04.11.2020].
B. Mehta, RESTful Java Patterns and Best Practices, Packt Publishing, 2014.
Perfy, https://www.npmjs.com/package/perfy, [04.11.2020].
Dokumentacja Perfy, https://github.com/onury/perfy, [04.11.2020].
Dokumentacja Express, https://expressjs.com/, [04.11.2020].
Zestawienie szkieletów Node.js, https://www.simform.com/best-nodejs-frameworks/, [04.11.2020].
Dokumentacja Hapi, https://hapi.dev/, [04.11.2020].
Dokumentacja Koa, https://github.com/koajs/koa, [04.11.2020].
JSONPlaceholder, https://jsonplaceholder.typicode.com/, [04.11.2020].
Article Details
Abstract views: 1424
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
