News for hackers. Stuff that matters.
Re:Microservices? Please Don't by amelius on Tuesday December 13, 2016 @10:54AM (#13167689)
How do you handle distributed transactions?
Re:Microservices? Please Don't by UK-AL on Tuesday December 13, 2016 @12:16PM (#13168465)
You don't particularly need distributed transactions if you design it right.

Generally try avoid them if you can. They have massive performance overheads.

Re:Microservices? Please Don't by amelius on Tuesday December 13, 2016 @12:56PM (#13168849)
The problem is that more often than not, you don't know the requirements beforehand.
Re:Microservices? Please Don't by lawik on Tuesday December 13, 2016 @01:39PM (#13169343)
I'm trying to come up with examples of transactions we have that span multiple services but can't come up with any. We do group tightly related functionality in the same service if we can. So if they need to be updated strictly transactionally they can usually be in the same DB-transaction.

Any particular example you'd like my thoughts on?