Performance comparison of microservices written using reactive and imperative approaches
Article Sidebar
Open full text
Issue Vol. 28 (2023)
-
The Examination of SQL Queries Efficiency in Chosen IT System
Krzysztof Barczak186-189
-
Comparative analysis of selected databases on the example of a proprietary web application
Łukasz Przychodzień, Dominika Radwan, Grzegorz Kozieł190-196
-
Performance optimization of web applications using Qwik
Adam Lipiński, Beata Pańczyk197-203
-
Analyze the effectiveness of ETL processes implemented using SQL and Apache HiveQL languages
Krzysztof Litka204-209
-
A comparative analysis of the performance of the relational database and the Hadoop environment in the context of analytical data processing
Michał Zadrąg210-216
-
Performance comparison of Flutter platform GUI in web and native environments
Juliusz Piskor, Marcin Badurowicz217-222
-
Usability analysis of banking service interfaces in Poland
Paulina Sułek, Aleksandra Walaszek223-228
-
Comparative analysis of selected tools for test automation of web applications
Analiza porównawcza wybranych narzędzi do automatyzacji testów aplikacji webowychMichał Pojęta, Franciszek Wąsik, Małgorzata Plechawska-Wójcik229-235 -
Comparative analysis of methods for testing web applications
Wojciech Superson, Tomasz Smyk, Małgorzata Plechawska-Wójcik236-241
-
Performance comparison of microservices written using reactive and imperative approaches
Kacper Mochniej, Marcin Badurowicz242-247
-
Comparative analysis of live sports streaming services
Emilia Skiba248-255
-
Comparative analysis of Angular and React development frameworks
Sylwester Skrzypiec, Małgorzata Plechawska-Wójcik256-263
-
Performance analysis of databases created in virtualized and containerized environment
Zygmunt Łata, Maria Skublewska-Paszkowska264-272
-
A comparative analysis of non-relational databases in e-commerce applications
Kacper Saweczko, Grzegorz Rożek, Małgorzata Plechawska-Wójcik273-278
-
Analysis of how universal design principles impact on the perception of virtual museum interfaces
Dawid Nicpoń, Weronika Wach, Maria Skublewska-Paszkowska279-284
-
An accessibility analysis of websites of selected types of universities
Maciej Banaszak, Mariusz Dzieńkowski285-290
-
Impact of changes in graphics setting on performance in selected video games
Kamil Szafran, Małgorzata Plechawska-Wójcik291-295
-
The comparative performance analysis of selected relational database systems
Szymon Schab296-303
Main Article Content
DOI
Authors
Abstract
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.
Keywords:
References
J. Thönes, Microservices, IEEE Software 32(1) (2015) 113-116. DOI: https://doi.org/10.1109/MS.2015.11
T. Nurkiewicz, B. Christensen, Reactive Programming with RxJava: Creating asynchronous, event based applications, 1st Edition, O’Reilly Media , 2016.
Spring WebFlux Documentation, https://docs.spring.io/spring-framework/reference/web/webflux.html#webflux, [27.05.2023].
Project Reactor webpage, https://projectreactor.io/, [27.05.2023].
P. Dakowitz, Comparing reactive and conventional programming of Java based microservices in containerized environments, Master thesis, Haw Hamburg, 2018.
S. Iwanowski, G. Kozieł, Comparative analysis of reactive and imperative approach in Java Web application development, Journal of Computer Sciences Institute 24 (2022) 242-249. DOI: https://doi.org/10.35784/jcsi.2999
K. Dahlin, An evaluation of Spring Webflux with focus on built in SQL features, Master thesis, Mid Sweden University, 2020.
A. Nordlund, N.Nordstrom, Reactive vs Non-reactive Java Framework, Bachelor thesis, Mid Sweden University, 2022.
A. Sim, O. Barus, F. Jaya, Lessons Learned In Applying Reactive System In Microservices, Journal of Physics: Conf. Series 1175 (2019) 1-6. DOI: https://doi.org/10.1088/1742-6596/1175/1/012101
G. Hochbergs, Reactive Programming and its effect on performance and the development process, Master thesis, Lund University, 2017.
J. Ferreira, Reactive Microservices An Experiment, Master thesis, Polytechnic of Porto, 2022.
Gatling webpage, https://gatling.io/ , [27.05.2023]
Article Details
Abstract views: 591
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
