The Saga Pattern in a Reactive Microservices Environment

Investor logo

Warning

This publication doesn't include Faculty of Arts. It includes Faculty of Informatics. Official publication website can be found on muni.cz.
Authors

ŠTEFANKO Martin CHALOUPKA Ondřej ROSSI Bruno

Year of publication 2019
Type Article in Proceedings
Conference 14th International Conference on Software Technologies (ICSOFT 2019)
MU Faculty or unit

Faculty of Informatics

Citation
Doi http://dx.doi.org/10.5220/0007918704830490
Keywords Saga Pattern; Compensating Transactions; Reactive Microservices; Distributed Systems
Description Transaction processing is a critical aspect of modern software systems. Such criticality increased over the years with the emergence of microservices, calling for appropriate management of transactions across separated application domains, ensuring the whole system can recover and operate in a possible degraded state. The Saga pattern emerged as a way to define compensating actions in the context of long-lived transactions. In this work, we discuss the relation between traditional transaction processing models and the Saga pattern targeting specifically the distributed environment of reactive microservices applications. In this context, we provide a comparison of the current state of transaction support in four Java-based enterprise application frameworks for microservices support: Axon, Eventuate Event Sourcing (ES), Eventuate Tram, and MicroProfile Long Running Actions (LRA).
Related projects:

You are running an old browser version. We recommend updating your browser to its latest version.