Skip to Main content Skip to Navigation
New interface
Conference papers

Analysing the performance and costs of reactive programming libraries in Java

Julien Ponge 1, 2 Arthur Navarro 1, 2 Clément Escoffier 1 Frédéric Le Mouël 2 
2 DYNAMID - Dynamic Software and Distributed Systems
CITI - CITI Centre of Innovation in Telecommunications and Integration of services
Abstract : Modern services running in cloud and edge environments need to be resource-efficient to increase deployment density and reduce operating costs. Asynchronous I/O combined with asynchronous programming provides a solid technical foundation to reach these goals. Reactive programming and reactive streams are gaining traction in the Java ecosystem. However, reactive streams implementations tend to be complex to work with and maintain. This paper discusses the performance of the three major reactive streams compliant libraries used in Java applications: RxJava, Project Reactor, and SmallRye Mutiny. As we will show, advanced optimization techniques such as operator fusion do not yield better performance on realistic I/O-bound workloads, and they significantly increase development and maintenance costs.
Complete list of metadata

https://hal.inria.fr/hal-03409277
Contributor : Frédéric Le Mouël Connect in order to contact the contributor
Submitted on : Friday, October 29, 2021 - 3:39:35 PM
Last modification on : Thursday, November 4, 2021 - 3:58:02 AM
Long-term archiving on: : Monday, January 31, 2022 - 9:35:53 AM

File

paper-author-version.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Julien Ponge, Arthur Navarro, Clément Escoffier, Frédéric Le Mouël. Analysing the performance and costs of reactive programming libraries in Java. REBLS 2021: 8th ACM International Workshop on Reactive and Event-Based Languages and Systems co-located with the SPLASH 2021 - ACM Annual Conference on Systems, Programming, Languages, Applications: Software for Humanity, Oct 2021, Chicago, United States. pp.51-60, ⟨10.1145/3486605.3486788⟩. ⟨hal-03409277⟩

Share

Metrics

Record views

84

Files downloads

1202