Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework

The purpose of this paper was to test the performance and scalability of a web application written in reactive and imperative approaches using the Spring Framework, in order to understand the differences between these approaches and choose the technology that best meets the requirements and provide...

Full description

Saved in:
Bibliographic Details
Main Authors: Karol Lis, Jakub Smołka
Format: Article
Language:English
Published: Lublin University of Technology 2024-09-01
Series:Journal of Computer Sciences Institute
Subjects:
Online Access:https://ph.pollub.pl/index.php/jcsi/article/view/6291
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832570033737302016
author Karol Lis
Jakub Smołka
author_facet Karol Lis
Jakub Smołka
author_sort Karol Lis
collection DOAJ
description The purpose of this paper was to test the performance and scalability of a web application written in reactive and imperative approaches using the Spring Framework, in order to understand the differences between these approaches and choose the technology that best meets the requirements and provides optimal performance. Two test applications were compared in terms of query processing times and CPU/RAM usage. The effect of Api Gateway microservices on application performance was analyzed. The tests showed that the reactive application processed I/O operations faster, used less RAM but more CPU. The imperative approach was faster for transactional operations performed sequentially. The reactive variant reacted with less latency to the presence of Api Gateway than the imperative approach.
format Article
id doaj-art-d78e8f5e8780477cba4d92ecc07a3920
institution Kabale University
issn 2544-0764
language English
publishDate 2024-09-01
publisher Lublin University of Technology
record_format Article
series Journal of Computer Sciences Institute
spelling doaj-art-d78e8f5e8780477cba4d92ecc07a39202025-02-02T17:59:50ZengLublin University of TechnologyJournal of Computer Sciences Institute2544-07642024-09-013210.35784/jcsi.6291Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring FrameworkKarol Lis0Jakub Smołka1https://orcid.org/0000-0002-8350-2537Lublin University of TechnologyLublin University of Technology The purpose of this paper was to test the performance and scalability of a web application written in reactive and imperative approaches using the Spring Framework, in order to understand the differences between these approaches and choose the technology that best meets the requirements and provides optimal performance. Two test applications were compared in terms of query processing times and CPU/RAM usage. The effect of Api Gateway microservices on application performance was analyzed. The tests showed that the reactive application processed I/O operations faster, used less RAM but more CPU. The imperative approach was faster for transactional operations performed sequentially. The reactive variant reacted with less latency to the presence of Api Gateway than the imperative approach. https://ph.pollub.pl/index.php/jcsi/article/view/6291spring bootreactive programmingimperative programmingapplication performance
spellingShingle Karol Lis
Jakub Smołka
Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework
Journal of Computer Sciences Institute
spring boot
reactive programming
imperative programming
application performance
title Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework
title_full Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework
title_fullStr Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework
title_full_unstemmed Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework
title_short Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework
title_sort examination of the performance and scalability of a web application in a reactive and imperative approach using the spring framework
topic spring boot
reactive programming
imperative programming
application performance
url https://ph.pollub.pl/index.php/jcsi/article/view/6291
work_keys_str_mv AT karollis examinationoftheperformanceandscalabilityofawebapplicationinareactiveandimperativeapproachusingthespringframework
AT jakubsmołka examinationoftheperformanceandscalabilityofawebapplicationinareactiveandimperativeapproachusingthespringframework