Migrating from Developing Asynchronous Multi-threading Programs to Reactive Programs in Java
Preprint
- 20 November 2024
- preprint
- Published by MDPI AG in Preprints.org
Abstract
Modern software application development imposes standards regarding high performance, scalability, and minimal system latency. Multi-threading asynchronous programming is one of the standard solutions proposed by the industry for achieving such objectives. However, the recent introduction of the reactive programming interface in Java presents a potential alterna-tive approach for addressing such challenges, promising performance improvements while minimizing resource utilization. The research examines the migration process from the asynchronous paradigm to the reactive paradigm, highlighting the implications, benefits, and challenges resulting from this transition. To this end, the architecture, technologies, and design of a support application will be pre-sented, designed to outline the practical aspects of this experimental process while closely monitoring the phased migration. The results are examined in terms of functional equivalence, testing, and comparative analysis of response times and resource utilization, as well as the cases where the reactive paradigm proves to be a solution worth considering. Additionally, possible directions for further research and development are presented. This paper not only investigates the design and implementation process but also sets a foundation for future research and innovation in dependable systems, collaborative technologies, sustainable solutions, and distributed system architecture.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Improving Comprehensibility of Event-Driven Microservice Architectures by Graph-Based Visualizations2024
- Simulation and modeling in cloud computing-based smart grid power big data analysis technologyInternational Journal of Modeling, Simulation, and Scientific Computing, 2024
- Modeling and verification of software evolution using bigraphical reactive systemCluster Computing, 2024
- An HTTP REST API for Tape-backed StorageEPJ Web of Conferences, 2024
- Performance Analysis and Improvement for CRUD Operations in Relational Databases from Java Programs Using JPA, Hibernate, Spring Data JPAApplied Sciences, 2024
- On the impact of event-driven architecture on performance: An exploratory studyFuture Generation Computer Systems, 2023
- Performance comparison of microservices written using reactive and imperative approachesJournal of Computer Sciences Institute, 2023
- Analysing the performance and costs of reactive programming libraries in Java2021
- Detection of Concurrency Errors in Multithreaded Applications Based on Static Source Code AnalysisIEEE Access, 2021
- Microservices in Industry: Insights into Technologies, Characteristics, and Software Quality2019