Hey there. This is an edit I made after I talked to some people who know much more than I do and shared my grievances over distributed transactions in a microservice architecture. Here's how my view changed:
- Yes, distributed transactions are not desirable
- Sometimes, especially considering times when talking to outside services they are necessary
I'm gonna keep this post up since I still believe that when working on a fully internal architecture (you have access to all the source code and/or are the one designing the system) distributed transactions might show a failure in design. They are a clutch, and you shouldn't depend too much on them.
sometimes microservices seem like they create more problems than they solve.