Patterns for distributed transactions within a microservices architecture

https://developers.redhat.com/blog/2018/10/01/patterns-for-distributed-transactions-within-a-microservices-architecture/

The problems above are important for microservice-based systems. Otherwise, there is no way to tell if a transaction has completed successfully. The following two patterns can resolve the problem:

Possible solutions:

  • 2pc (two-phase commit)
  • Saga