PROSPECTS OF USING REACTIVE PROGRAMMING IN WEB SERVICES DEVELOPMENT
DOI:
https://doi.org/10.32782/mathematical-modelling/2026-9-1-36Keywords:
reactive programming, web services, asynchronous processing, event-driven architecture, backpressure, scalability, resilience, Project Reactor, RxJava, Akka Streams, Spring WebFlux, RSocketAbstract
The article presents a comprehensive analysis of reactive programming as a modern paradigm that is gaining increasing popularity in the field of web service development. The reactive approach is based on the principles of asynchronous data processing, event-driven architecture, and non-blocking operations, which enable effective solutions to the challenges of scalability, resilience, and performance in distributed systems. Special attention is paid to ensuring rapid system responsiveness under high loads and frequent failures, which is crucial for businesses seeking to meet contemporary requirements for speed and quality of user service. The article provides a comparative analysis of reactive and imperative approaches to web service development, identifying the main advantages of the reactive paradigm, including improved resource utilization, enhanced user experience, reduced response times, and increased fault tolerance. The main challenges of adopting reactive programming are also discussed, such as the steep learning curve, increased architectural complexity, difficulties in debugging asynchronous processes, higher requirements for monitoring and diagnostics, and the need for careful resource management. The article highlights current trends in the development of reactive frameworks and libraries, such as Project Reactor, RxJava, Akka Streams, Spring WebFlux, and RSocket, which provide developers with tools for building scalable, flexible, and resilient systems. Practical aspects of implementing the reactive approach are analyzed, including its impact on performance, stability, operational costs, and system maintenance. The areas where reactive programming is most effective are determined, and situations in which traditional imperative approaches remain more appropriate are outlined. It is emphasized that the increased performance provided by reactive programming is not always critical for most services, and in many cases, it is sufficient to use simple and proven architectural approaches that are easier to implement and maintain. Reactive systems perform best in high-load environments where scalability and fault tolerance are required. If the system operates in a stable mode with a small number of concurrent requests, the advantages of the reactive paradigm may be insignificant or even negated. Thus, reactive programming is not a universal solution but a powerful tool for solving specific problems of modern digital engineering. The choice of this paradigm should be based on the actual needs of the project, the nature of the workload, scalability and resilience requirements, and the team’s readiness to master new approaches. The principles of reactive programming are likely to become even more relevant in the future, providing a foundation for the next generation of web services that meet the demands of the digital era for performance, resilience, and scalability.
References
Why Reactive Might Be Dead: Spring Boot + Java 21 Virtual Threads Are All You Need. Medium. URL: https://medium.com/@kanhaaggarwal/why-reactive-might-be-dead-spring-boot-java-21-virtual-threads-are-all-you-need-2d6d545fc18b (дата звернення: 25.03.2026).
Höjvall M. The Reactive Java era is over. Here is why. Medium. URL: https://medium.com/alphadev-thoughts/the-reactive-java-era-is-over-here-is-why-5885caacdf43 (дата звернення: 25.03.2026).
Yanev I. Why we discarded Reactive systems architecture from our code?. Dev.to. URL: https://dev.to/yanev/why-we-discarded-reactive-systems-architecture-from-our-code-19ni (дата звернення: 26.03.2026).
The Shift Toward Reactive Programming in Modern Web Development. Dev.to. URL: https://dev.to/softwaredeveloperhub01/the-shift-toward-reactive-programming-in-modernweb-development-10dd (дата звернення: 23.03.2026).
Микитин A. Реактивне програмування на Spring Boot: мій досвід, приклади та розбір загальноприйнятих підходів. DOU. URL: https://dou.ua/forums/topic/53998/ (дата звернення: 24.03.2026).
Purnomo J. Reactive vs Imperative Programming: Choosing the Right Paradigm for Your Project. Medium. URL: https://medium.com/@jonatanlaksamanapurnomo/reactive-vs-imperativeprogramming-3c6a0d267a3a (дата звернення: 23.03.2026).
Wojciech O. Reactive vs imperative – performance. Medium. URL: https://medium.com/@w_olech/reactive-vs-imperative-performance-752bd79f24c (дата звернення: 27.03.2026).
Chaurasia B, Verma A. A Comprehensive Study on Failure Detectors of Distributed Systems. Journal of Scientific Research. 2020. Vol. 64. P. 250–260. DOI: https://doi.org/10.37398/JSR.2020.640235
Hyseni D, Piraj N, Shabani I. The Use of Reactive Programming in the Proposed Model for Cloud Security Controlled by ITSS. Computers, 2022. Vol. 11. № 5. 62. DOI: https://doi.org/10.3390/computers11050062





