News for hackers. Stuff that matters.
Re:Give me back my monolith (2019) by abraxas on Tuesday May 10, 2022 @10:00PM (#31335026)
So distributed transactions with two phase commit, XA and all that. Imagine what, microservices hipsters tried that and it turned out too slow and cumbersome so they invented "sagas" which are still immensely more complex than a single transaction in a single database.
Re:Give me back my monolith (2019) by staticassertion on Wednesday May 11, 2022 @02:23PM (#31343854)
You seem confused. If you want a transaction use a transaction. If you don't want a transaction don't use a transaction. If you need a transaction across services, that sounds like you've run across a microservice antipattern. Monolith/Microservice changes nothing here - you can have the same issue in a monolith where two different functions are managing transactions and now you want a single transaction.

Literally irrelevant.