Comparative analysis of reactive and imperative approach in Java web application development
Authors:
- Sebastian IwanowskiSISebastian Iwanowski
- Grzegorz KoziełGKGrzegorz Kozieł
Open Access
- 30 September 2022
- journal article
- research article
- Published by Politechnika Lubelska in Journal of Computer Sciences Institute
- Vol. 24, 242-249
Abstract
The subject of this study was to compare web applications created using the imperative and reactive approaches in Java. For this purpose, two applications with the same functionalities were developed using both approaches. The study looked at the performance, stability and time-consumption of implementation of each application. Based on the obtained results, it was found that the reactive application processes queries faster, uses less CPU, and is more stable in the case of handling many simultaneous requests, where the processing time is greater than 10 seconds. No significant differences were observed in using the computer's RAM by the applications. In addition, the study showed that reactive application takes more time to create.Keywords
This publication has 2 references indexed in Scilit:
- An empirical study of multi-threading paradigms Reactive programming vs continuation-passing style2020
- On the Positive Effect of Reactive Programming on Software Comprehension: An Empirical StudyIEEE Transactions on Software Engineering, 2017