BASE Transaction

BASE Transaction

Sometimes ACID transactions are not possible in some cases, e.g., microservices. As alternative, we use BASE transactions:

  • Basically Available
  • Soft State
  • Eventual Consistency

The difference from ACID transactions it that they cannot be rolledback easily. To rollback, a compensating action is needed to revert to the original state. Saga manages these kind of transactions and are often used to manage different aggregate roots (see Domain Driven Design ).