后端技术的效率和可靠性:Express、Django 和 Spring Boot

Dominik Choma, Kinga Chwaleba, M. Dzieńkowski
{"title":"后端技术的效率和可靠性:Express、Django 和 Spring Boot","authors":"Dominik Choma, Kinga Chwaleba, M. Dzieńkowski","doi":"10.35784/iapgos.4279","DOIUrl":null,"url":null,"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.","PeriodicalId":504633,"journal":{"name":"Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Środowiska","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"THE EFFICIENCY AND RELIABILITY OF BACKEND TECHNOLOGIES: EXPRESS, DJANGO, AND SPRING BOOT\",\"authors\":\"Dominik Choma, Kinga Chwaleba, M. Dzieńkowski\",\"doi\":\"10.35784/iapgos.4279\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":504633,\"journal\":{\"name\":\"Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Środowiska\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-12-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Środowiska\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.35784/iapgos.4279\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Środowiska","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.35784/iapgos.4279","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

随着网络应用的日益普及,客户端和服务器端都开发出了许多支持网络应用开发的技术。本文试图比较三种最流行的服务器端框架--Django、Spring Boot 和 Express。所选的每种技术都基于不同的编程语言。在请求处理时间和可靠性方面对这些框架进行了比较。在所进行的研究中,创建了三个处理 HTTP 请求的后端应用程序,它们都使用由员工数据组成的相同数据库。随后,进行了一系列负载测试,以确定在不同数量的虚拟用户同时向服务器发送请求的情况下,所创建应用程序的效率和可靠性水平。五个测试案例的请求数量分别为分别为 1000、2000、4000、8000 和 16000,服务器同时处理每种类型的 HTTP 请求。根据测试结果,Spring Boot 框架在请求处理时间和高可靠性方面表现最佳。不过,我们注意到,在极端负载下的许多测试用例中,与 Express 应用程序相比,Spring Boot 错误处理请求的比例要高得多,尽管该应用程序的速度明显较慢。Django 的结果最差,因为在三个测试应用程序中,为该框架创建的测试应用程序在处理请求时显示的请求处理时间最长,错误率最高。所进行的研究有助于确定测试技术在不同负载水平下的效率和可靠性。此外,这些研究对于了解所评估的框架及其特性以及得出结论至关重要,这些结论将有助于开发人员在实施其编程项目之前选择技术。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
THE EFFICIENCY AND RELIABILITY OF BACKEND TECHNOLOGIES: EXPRESS, DJANGO, AND SPRING BOOT
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信