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

Uloženo v:
Podrobná bibliografie
Název: Examination of the performance and scalability of a web application in a reactive and imperative approach using the Spring Framework.
Alternate Title: Badanie wydajności i skalowalności aplikacji webowej w podejściu reaktywnym i imperatywnym z wykorzystaniem Spring Framework. (Polish)
Autoři: Lis, Karol, Smołka, Jakub
Zdroj: Journal of Computer Sciences Institute; 2024, Vol. 32, p210-216, 7p
Témata: WEB-based user interfaces, RANDOM access memory, SCALABILITY
Abstract (English): 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. [ABSTRACT FROM AUTHOR]
Abstract (Polish): Celem artykułu było zbadanie wydajności i skalowalności aplikacji webowej napisanej w podejściu reaktywnym i imperatywnym z użyciem Spring Framework, aby zrozumieć różnice między tymi podejściami i wybrać technologię, która najlepiej odpowiada wymaganiom i zapewnia optymalną wydajność. Porównano dwie aplikacje testowe pod względem czasów przetwarzania zapytań oraz wykorzystania CPU/RAM. Analizowano wpływ mikroserwisu Api Gateway na wydajność aplikacji. Badania wykazały, że aplikacja reaktywna szybciej przetwarza operacje I/O, zużywa mniej RAM, ale więcej CPU. Podejście imperatywne było szybsze dla operacji transakcyjnych wykonywanych sekwencyjnie. Wariant reaktywny reagował mniejszymi opóźnieniami na obecność Api Gateway niż imperatywne podejście. [ABSTRACT FROM AUTHOR]
Copyright of Journal of Computer Sciences Institute is the property of Lublin University of Technology and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Databáze: Complementary Index
Popis
Abstrakt: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. [ABSTRACT FROM AUTHOR]
ISSN:25440764
DOI:10.35784/jcsi.6291