SAGA mode
The Saga mode is a long-term transaction solution provided by SEATA. In the Saga mode, each participant in the business process submits a local transaction. When a participant fails, the previous successful participants are compensated. One-stage forward service and Compensation services in the second stage are realized by business development.

Applicable scenarios of the Saga mode: long business processes and many business processes; participants include other companies or legacy system services, which cannot provide the three interfaces required by the TCC mode. Although isolation cannot be guaranteed, the Saga pattern has the following advantages:
(a) Submit local transactions in one phase, lock-free, high performance.
(b) Event-driven architecture, participants can execute asynchronously, high throughput.
(c) Compensation services are readily available.
Last updated