News for hackers. Stuff that matters.
Re:Microservices? Please Don't by lawik on Tuesday December 13, 2016 @10:48AM (#13167626)
Seems to me that every point is "well, it depends" and I didn't find it particularly convincing.

I work in a microservice codebase with the realization that it might have been premature to what we needed but it does roughly live up to our aspirations. Products sharing infrastructure and common functionality (accounts, file storage/management, notifications, email) and solid boundaries for easier outsourcing, support for using different languages in different parts if necessary.

I've found gains, I've found costs. The article is right in that microservices are not a silver bullet, I think few people really believe they are.

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?