Transactions in microservices architecture

The benefits related to microservice architectures are there for all to see, from the reduction of the time to market, to the simpler management of the source life cycle, to the punctual management of resources, according to the actual workload.

However, at the end of every discussion on microservices, before proceeding to the design of the application architecture, a question always comes up—how are the transactions managed within microservices?

Distributed system interactions can be complex for many reasons, some of which are as follows:

  • A microservices architecture involves many parties, realized using different technologies that adhere to different specifications
  • A business function can span ...

Get Hands-On Cloud-Native Microservices with Jakarta EE now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.