Transactions

Distributed Transaction

English

Overview

A mechanism for treating an operation that spans multiple databases or services as a single atomic unit.

Details

It's implemented using approaches like two-phase commit or compensating transactions such as the Saga pattern. It tends to become a challenge whenever data consistency must be maintained across microservices.

More Database terms