News for hackers. Stuff that matters.
Re:Monoliths Are the Future by simiones on Thursday January 30, 2020 @02:17PM (#22194408)
My company is currently moving to microservices, but for different reasons.

The problem you raise was in fact fixed years ago in our org simply by properly decoupling our "monolithic" app into modules. The top-level build was simply a collection of all pre-built modules. After each dependency update, an automated regression would run, and if pass rate was less than X%, the change was not pushed upstream.

Really, microservices give you 2 things better than that: 1, the ability to combine more technologies; 2, much simpler (horizontal) scalability, since properly done microservices naturally scale well with multiple copies running on multiple machines. Of course, the costs are there, in terms of more debugging difficulties, more complex logging needs and usually a higher minimum overhead.

Re:Monoliths Are the Future by bcrosby95 on Thursday January 30, 2020 @02:29PM (#22194532)
I've horizontally scaled plenty of monoliths. Tends to be easier. Less to monitor. You don't have to worry about "what" you're scaling. You just scale it all. Just throw another server on the pile, it reduces resources used by everything on the existing servers.

If you have a process that takes up a lot of a particular resource that others don't (e.g. disk throughput), maybe spin that into its own service. But in my experience, lots of things are just fine being lumped together and don't really exhibit resource use profiles that are all that different from eachother.

Re:Monoliths Are the Future by mypalmike on Thursday January 30, 2020 @03:26PM (#22195155)
Modules help some, but being tied to a deployment cadence with say, hundreds of other developers, can be very painful. Having to delay my team's features because another team broke the build doesn't help my customers. Isolating CI pipelines by team can help that somewhat, but you still end up sharing fate with teams with whom you might have no real interdependencies.
Re:Monoliths Are the Future by huherto on Friday January 31, 2020 @11:10AM (#22202766)
I think this is pretty much it. You can have one microservice per team. Then you can do whatever you want in terms of tools, languages, deployment workflows, etc. As long as you honor your API contracts.
Re:Monoliths Are the Future by tsimionescu on Thursday January 30, 2020 @04:01PM (#22195529)
I guess this also depends a lot on the type of product you build. For me, we are building a piece of software that we ship to customers, so the release cadence is limited by many factors outside engineering anyway.

But I can see how on a live service-type product, microservices would help a lot more on this front.