News for hackers. Stuff that matters.
Re:Microservices Are Something You Grow Into, Not Begin With by crdoconnor on Friday October 19, 2018 @06:11AM (#18255545)
This can sometimes be worthwhile in a corporate environment even if technically it makes things harder, because it solves a major political / communication problem.

However, for the expense of dealing with the complications of an additional network boundary to worthwhile, some of the following must hold:

* You need architect who has an overview of the whole system creates abstractions that make sense and puts the API boundaries in the correct place, avoiding the "tightly coupled microservices" antipattern.

* You need good devops people who can track problems that span service boundaries. This is the one area where the company can't skimp (i.e. no outsourcing of this position). Without these people you get an epic political clusterfuck where everybody ends up blaming "the other" team for their problems.

* The two services need to be built by two teams which, for whatever reason, cannot be relied upon to communicate or work effectively with one another (different orgs, different country, different company maybe).

* The two teams possibly use different programming languages.

I believe these reasons are probably the reason why it worked wonders for Martin Fowler. Then startups read his blog and decided that every team needed to build 15 microservices and the whole world went crazy (thanks Martin).

Re:Microservices Are Something You Grow Into, Not Begin With by vlkr on Friday October 19, 2018 @08:55AM (#18256363)
"Although the evidence is sparse, I feel that you shouldn't start with microservices unless you have reasonable experience of building a microservices system in the team."

https://martinfowler.com/bliki/MonolithFirst.html

Re:Microservices Are Something You Grow Into, Not Begin With by crdoconnor on Friday October 19, 2018 @03:06PM (#18259126)
Yeah, he wrote that after he realized that the microservice movement he spawned had gone nuts.