Performance analysis of REST API technologies using Spring and Express.js examples
The purpose of this article is a comparative analysis of two technologies for building applications in REST architecture. A Java-based development framework - Spring, and a framework designed for JavaScript language and Node environment - Express.js were analyzed. The test application was designed...
Saved in:
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Lublin University of Technology
2023-12-01
|
Series: | Journal of Computer Sciences Institute |
Subjects: | |
Online Access: | https://ph.pollub.pl/index.php/jcsi/article/view/3796 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
_version_ | 1832569994930552832 |
---|---|
author | Maciej Wicha Beata Pańczyk |
author_facet | Maciej Wicha Beata Pańczyk |
author_sort | Maciej Wicha |
collection | DOAJ |
description |
The purpose of this article is a comparative analysis of two technologies for building applications in REST architecture. A Java-based development framework - Spring, and a framework designed for JavaScript language and Node environment - Express.js were analyzed. The test application was designed and implemented in both studied technologies. Using the Apache JMeter tool, HTTP request processing times were measured by operating on simple text data. The experiment was based on 5 scenarios repeated for a different number of users in the range of 10 to 100, with a constant number of executed requests to the server. The analysis conducted showed that the application implemented in Express.js handles HTTP requests up to 249% more efficiently than its counterpart in Spring.
|
format | Article |
id | doaj-art-4b879f13b3b54858afd3ef1cb74bc4d2 |
institution | Kabale University |
issn | 2544-0764 |
language | English |
publishDate | 2023-12-01 |
publisher | Lublin University of Technology |
record_format | Article |
series | Journal of Computer Sciences Institute |
spelling | doaj-art-4b879f13b3b54858afd3ef1cb74bc4d22025-02-02T18:03:01ZengLublin University of TechnologyJournal of Computer Sciences Institute2544-07642023-12-012910.35784/jcsi.3796Performance analysis of REST API technologies using Spring and Express.js examplesMaciej Wicha0https://orcid.org/0009-0008-1092-2339Beata Pańczyk1https://orcid.org/0000-0001-8908-8501Department of Computer Science, Lublin University of TechnologyDepartment of Computer Science, Lublin University of Technology The purpose of this article is a comparative analysis of two technologies for building applications in REST architecture. A Java-based development framework - Spring, and a framework designed for JavaScript language and Node environment - Express.js were analyzed. The test application was designed and implemented in both studied technologies. Using the Apache JMeter tool, HTTP request processing times were measured by operating on simple text data. The experiment was based on 5 scenarios repeated for a different number of users in the range of 10 to 100, with a constant number of executed requests to the server. The analysis conducted showed that the application implemented in Express.js handles HTTP requests up to 249% more efficiently than its counterpart in Spring. https://ph.pollub.pl/index.php/jcsi/article/view/3796Spring Express.js REST API performance benchmarking |
spellingShingle | Maciej Wicha Beata Pańczyk Performance analysis of REST API technologies using Spring and Express.js examples Journal of Computer Sciences Institute Spring Express.js REST API performance benchmarking |
title | Performance analysis of REST API technologies using Spring and Express.js examples |
title_full | Performance analysis of REST API technologies using Spring and Express.js examples |
title_fullStr | Performance analysis of REST API technologies using Spring and Express.js examples |
title_full_unstemmed | Performance analysis of REST API technologies using Spring and Express.js examples |
title_short | Performance analysis of REST API technologies using Spring and Express.js examples |
title_sort | performance analysis of rest api technologies using spring and express js examples |
topic | Spring Express.js REST API performance benchmarking |
url | https://ph.pollub.pl/index.php/jcsi/article/view/3796 |
work_keys_str_mv | AT maciejwicha performanceanalysisofrestapitechnologiesusingspringandexpressjsexamples AT beatapanczyk performanceanalysisofrestapitechnologiesusingspringandexpressjsexamples |