The Saga Pattern in a Reactive Microservices Environment
Autoři | |
---|---|
Rok publikování | 2019 |
Druh | Článek ve sborníku |
Konference | 14th International Conference on Software Technologies (ICSOFT 2019) |
Fakulta / Pracoviště MU | |
Citace | |
Doi | http://dx.doi.org/10.5220/0007918704830490 |
Klíčová slova | Saga Pattern; Compensating Transactions; Reactive Microservices; Distributed Systems |
Popis | 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). |
Související projekty: |