News for hackers. Stuff that matters.
Re:TeamTopologies by 0xy on Friday July 28, 2023 @07:30AM (#36905382)
Microservices are essential at any large company. Can you imagine if Facebook was still a PHP monolith? They'd need 5,000,000 instances to run the app.
Re:TeamTopologies by x86x87 on Friday July 28, 2023 @07:48AM (#36905520)
narrator: they aren't. Code modularity is important.
Re:TeamTopologies by DerArzt on Friday July 28, 2023 @07:49AM (#36905525)
> microservices are essential at any large company

There in lies the rub, the majority of engineers don't work at companies that need the kind of scale that Facebook has.

The majority of us work at smaller shops that can get by fine without all the overhead that microservices introduce. The problem that I see is that there are to many folks not weighing the pros and cons of the architectural decisions they are making, and are just joining the cargo cult.

Re:TeamTopologies by LeBit on Friday July 28, 2023 @07:49AM (#36905526)
People went full monoliths to full microservices.

The same people are now saying creating microservices is a sign of incompetence and the smart thing to do is create monoliths.

But not to sound ridiculous, they bring a spin to it: they now say they create modules within the monolith.

Software engineering is like fashion. It goes full circle every X years.

Re:TeamTopologies by lightbendover on Friday July 28, 2023 @10:09AM (#36907036)
Meanwhile, the experienced/good/non-charlatan engineers endorse choosing the right architecture for the job. Building a CMS? You probably want a pretty large monolith. Also building an analytics platform? That should probably be a separate service aligned to a different team.
Re:TeamTopologies by thewix on Friday July 28, 2023 @10:11AM (#36907066)
It should be, start with a week architected and slice things into microservices when you need to. Fowler and many Microservice evangelists even say to start with a monolith first, because you don't know the correct slices at the beginning.
Re:TeamTopologies by activitypea on Friday July 28, 2023 @07:53AM (#36905558)
That's... not how it works....

If that were true, then moving to a microservice architecture they'd need 5 million instances of the microservice that replaces the part of the monolith that required 5 million instances in the first place, plus a couple of millies for all the other services.

Re:TeamTopologies by lightbendover on Friday July 28, 2023 @10:06AM (#36906985)
At a large company? Yes.

On a small-medium vertical team at a large company? Probably-maybe not.

Many, many engineers (and managers maybe even more so) immediately jump to micro-services (often resume-driven development) where most companies have poor tooling and poor security knowledge that turn them into a living productivity-crippling nightmare to work with.

Re:TeamTopologies by webdood90 on Friday July 28, 2023 @11:28AM (#36908319)
so then you're saying it's an execution issue, not a flawed concept.

a lot of people are giving Martin flack that the idea sucks when the reality is they're implementing it poorly or inappropriately.

Re:TeamTopologies by stavros on Friday July 28, 2023 @02:40PM (#36911279)
I'm tired of this cop-out. If your thing is extremely easy to implement poorly, to the point where good implementations are a small minority, your thing sucks and is bad.
Re:TeamTopologies by lightbendover on Friday July 28, 2023 @02:59PM (#36911553)
Additionally if you don't call-out the gotchas/pitfalls, then you're misleading the large chunk of engineers/managers who find a blog post and then blindly follow the best practice.
Re:TeamTopologies by rqtwteye on Friday July 28, 2023 @10:33AM (#36907358)
It depends on the granularity. I see projects where 3 developers create 13 micro services. Basically they buy all the complexity without having any benefits.

I generally hate the term “micro services”. They are just “services” and nothing new.