Performance comparison of microservices written using reactive and imperative approaches
Journal of Computer Sciences Institute · 30.09.2023 · 28 · 242-247
DOI: 10.35784/jcsi.3698 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Computer Sciences Institute, online erschienen am 30.09.2023. Verfasst von Kacper Mochniej und 1 weiteren Autor:innen. Die Arbeit wurde bisher 8-mal zitiert (Crossref) und nennt 12 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
The purpose of this paper is to compare the performance of microservices based on reactive and imperative approaches. For this purpose, two microservice applications written in Java using the Spring programming framework were developed. The Spring Web and Spring Webflux modules were used for the conventional and reactive versions, respectively. During the tests, functionalities related to operations of retrieving and inserting records into the database, data processing, and file transfer were invoked. The Gatling tool was used to conduct the tests. The tests showed that reactive microservices can be more efficient in particular when there are delays in communication with services or the database. Otherwise, it depends on the complexity of the operations being performed. Microservices based on the reactive paradigm also use less RAM compared to conventional counterparts.
Zitieren
APA
Mochniej, K., & Badurowicz, M. (2023). Performance comparison of microservices written using reactive and imperative approaches. Journal of Computer Sciences Institute, 28, 242-247. https://doi.org/10.35784/jcsi.3698
Vancouver
Mochniej K, Badurowicz M. Performance comparison of microservices written using reactive and imperative approaches. Journal of Computer Sciences Institute. 2023;28:242-247. doi:10.35784/jcsi.3698
BibTeX
@article{Mochniej2023,
author = {Mochniej, Kacper and Badurowicz, Marcin},
title = {Performance comparison of microservices written using reactive and imperative approaches},
journal = {Journal of Computer Sciences Institute},
year = {2023},
volume = {28},
pages = {242--247},
doi = {10.35784/jcsi.3698}
}
EUVIMED