THE EFFICIENCY AND RELIABILITY OF BACKEND TECHNOLOGIES: EXPRESS, DJANGO, AND SPRING BOOT
Dominik Choma
Lublin University of Technology, Department of Computer Science (Poland)
https://orcid.org/0009-0004-6302-5683
Kinga Chwaleba
Lublin University of Technology, Department of Computer Science (Poland)
https://orcid.org/0009-0007-3458-5464
Mariusz Dzieńkowski
m.dzienkowski@pollub.plLublin University of Technology, Department of Computer Science (Poland)
https://orcid.org/0000-0002-1932-297X
Abstract
Increasing popularity of web applications has led to the development of many technologies that enable their production, both on the client and server side. This article attempts to compare three most popular server-side frameworks – Django, Spring Boot and Express. Each of the selected technologies is based on a different programming language. These frameworks were compared in terms of request processing time and reliability. Within the conducted research three backend applications handling HTTP requests were created, all of them using the same database consisting of employees’ data. Afterwards, a series of load tests was performed to determine levels of efficiency and reliability of created applications for various numbers of virtual users sending requests to the server at the same time. Five test cases with the following number of requests: 1000, 2000, 4000, 8000, and 16000 were planned and performed for each type of HTTP requests handled by the server simultaneously. Based on the obtained results, it was concluded that the Spring Boot framework was the best in terms of request processing time and high reliability. However, it was noted that for many test cases under extreme load, it had a significantly higher percentage of incorrectly processed requests compared to the Express application, even though the application was noticeably slower. The worst results were observed for Django because the test application created for this framework revealed the longest requests processing time and the highest error rate during processing requests out of the three tested applications. The performed studies helped to determine the efficiency and reliability of the tested technologies at various levels of load. Furthermore, the studies were crucial in obtaining knowledge about the evaluated frameworks as well as their properties and formulating conclusions that will be able to help the developers choose technologies before the implementation of their programming projects.
Keywords:
efficiency, reliability, request processing time, Spring Boot, Express, DjangoReferences
Dhalla H. K.: A Performance Comparison of RESTful Applications Implemented in Spring Boot Java and MS.NET Core. Journal of Physics: Conference Series 1933, 2020.
DOI: https://doi.org/10.1088/1742-6596/1933/1/012041
Google Scholar
Kaluža M., Kalanj M., Vukelić B.: A comparison of Back-End Frameworks for Web Application development. Zbornik Veleučilišta u Rijeci 7, 2019, 317–332.
DOI: https://doi.org/10.31784/zvr.7.1.10
Google Scholar
Karlsson P.: A performance comparison Between ASP.NET Core and Express.js for creating Web APIs. Jönköping University 2021.
Google Scholar
Kopyl P., Rozaliuk T., Smołka J.: Comparison of ASP.NET Core and Spring Boot ecosystems. Journal of Computer Sciences Institute 22, 2022, 40–45.
DOI: https://doi.org/10.35784/jcsi.2794
Google Scholar
Muittari J.: Modern Web Back-End. What happens in the back end of the application? Oulu University of Applied Sciences 2022.
Google Scholar
Qvarnström E., Jonsson M.: A performance comparison on REST-APIs in Express.js, Flask and ASP.NET Core. Mälardalen University, 2022.
Google Scholar
Söderlund S.: Performance of REST applications: Performance of REST applications in four different frameworks. Linnaeus University 2017.
Google Scholar
Apache JMeter [https://jmeter.apache.org/] (available: 2023.03.04).
Google Scholar
Employees Sample Database [https://dev.mysql.com/doc/employee/en/] (available: 2023-04-18).
Google Scholar
GitHub Framework [https://github.com/topics/framework] (available: 2023.01.18).
Google Scholar
Most Popular Backend Frameworks – 2012/2022 [https://statisticsanddata.org/data/most-popular-backend-frameworks-2012-2022/] (available: 2022.11.22).
Google Scholar
Stack Overflow 2022 Developer Survey [https://survey.stackoverflow.co/2022/] (available: 2023.01.18).
Google Scholar
What is REST [https://restfulapi.net/] (available: 2023.01.18).
Google Scholar
Authors
Dominik ChomaLublin University of Technology, Department of Computer Science Poland
https://orcid.org/0009-0004-6302-5683
Authors
Kinga ChwalebaLublin University of Technology, Department of Computer Science Poland
https://orcid.org/0009-0007-3458-5464
Authors
Mariusz Dzieńkowskim.dzienkowski@pollub.pl
Lublin University of Technology, Department of Computer Science Poland
https://orcid.org/0000-0002-1932-297X
Statistics
Abstract views: 689PDF downloads: 497
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Most read articles by the same author(s)
- Marcin Cieśla, Mariusz Dzieńkowski, AN ANALYSIS OF THE IMPLEMENTATION OF ACCESSIBILITY TOOLS ON WEBSITES , Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Środowiska: Vol. 13 No. 4 (2023)
- Julia Zachwatowicz, Oliwia Zioło, Mariusz Dzieńkowski, INTERFACE LAYOUT VERSUS EFFICIENCY OF INFORMATION ASSIMILATION IN THE LEARNING PROCESS , Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Środowiska: Vol. 14 No. 4 (2024)