News for hackers. Stuff that matters.
Re:Why Segment Went Back to a Monolith by lifeisstillgood on Wednesday April 29, 2020 @05:51AM (#23017319)
I have this thing about micro-services/complexity in that it follows Conway's Law - the architecture follows the organisational structure.

If you push authority and decision making and responsibility for a service to a (2 pizza) team then guess what, microservices work really well.

If you have vast monolithic centralised production operations teams, and no way in hell is their C-Exec going to assign two of them to look after the user-login service, you might not do so well.

Like most things, the organisation needs to change to get the best out of the opportunities software offers. Those that don't will face increasing friction and eventually die off.

Re:Why Segment Went Back to a Monolith by gilbetron on Wednesday April 29, 2020 @09:22AM (#23018780)
Conway's Laws isn't a law, it's just an interesting thought experiment. Organization and architecture bidirectionally effect each other, but not directly, and not completely. I hate how current discourse invokes these different "Laws" as if they are physical properties of the universe. I've worked at places with a strong, hierarchical organization that created a wonderful set of "micro" services, and I've worked at places with a chaotic environment that developed monoliths.

There are shitty hierarchies and shitty flat organizations, just like there are shitty monoliths and shitty microservices.

Sorry if you actually agree with this more nuanced view, it's just that I've seen Conway's "Law" invoked more than once in this discussion and it drives me bonkers. I get the same way when someone ("Medium Developers" I call them, more than green but less than seasoned who swallow everything the read on Medium as gospel and run around quoting it zealously) quoted liskov substitution principle at me as if it was one of Newton's Laws.

Re:Why Segment Went Back to a Monolith by musingsole on Wednesday April 29, 2020 @10:39AM (#23019798)
Conway's Law is a physical law in the same sense as Murphy's Law.

It's also obviously true. The organization builds the architecture. The architecture either helps or hinders the organization. The organization builds a new architecture. There's no indirect connection here. If you've seen hierarchical organizations implement microservices, it's because that organization's complement was a microservices architecture. And likewise for a chaotic organization.

--well, sidetrack: Aren't strongly hierarchical organizations the best suited for microservices? With all the strongly divided responsibilities and whatnot?

Re:Why Segment Went Back to a Monolith by 87zuhjkas on Wednesday April 29, 2020 @10:58AM (#23020042)
> Conway's Law is a physical law in the same sense as Murphy's Law. It's also obviously true.

It's like a tautology: "In logic, a tautology is a formula or assertion that is true in every possible interpretation."

Re:Why Segment Went Back to a Monolith by SeeTheTruth on Wednesday April 29, 2020 @04:31PM (#23023886)
Thank you for everything you said. The reality is more nuanced and depends on the specifics. The "law" being zealously cited here isn't a rule. Nor is the thought an approach is wrong if a big organization failed at it.
Re:Why Segment Went Back to a Monolith by pestaa on Wednesday April 29, 2020 @07:48AM (#23018020)
2 pizza team?

Well finally I might get my own microservice after all.

Re:Why Segment Went Back to a Monolith by Autowired on Wednesday April 29, 2020 @09:09AM (#23018648)
This metric is also unsuitable for Europe, where generally pizzas are individual.
Re:Why Segment Went Back to a Monolith by dx034 on Wednesday April 29, 2020 @12:31PM (#23021067)
You can get party pizzas but in that case the two pizza team might be a bit large.
Re:Why Segment Went Back to a Monolith by jbverschoor on Wednesday April 29, 2020 @06:06AM (#23017420)
Well.. just consider every "microservice" a separate company, exposing its own product/service. Also think about all the overhead that comes with it - product managers, finance, recruitment etc.
Re:Why Segment Went Back to a Monolith by pjc50 on Wednesday April 29, 2020 @07:15AM (#23017841)
See Coase and the "Theory of the Firm": https://en.wikipedia.org/wiki/Theory_of_the_firm

Occasionally companies actually do this by fragmenting divisions into separate companies, such as outsourcing IT. It has a very broad range of outcomes, from saving to destroying the business.

Re:Why Segment Went Back to a Monolith by dmix on Wednesday April 29, 2020 @08:45AM (#23018418)
So like monoliths vs microservices it's probably a balance between the two (leaning heavily in one direction).

I've never understood why it needs to be either/or. Is it really that difficult to support a microservice deployment that only represents 50% or even 20-25% of the org/project?

Re:Why Segment Went Back to a Monolith by crispyporkbites on Wednesday April 29, 2020 @06:10AM (#23017440)
If all the services that the microservice needs are also services behind an API, what's the overhead? Something like:

hire("developer", 10, "10x).addToPayroll().office("openplan", "wfh").enforceHRPolicies()

Is all you need

The best thing about this is that you can keep everything in change control and just rollback whenever you need to, or spin up new companies at will.

Re:Why Segment Went Back to a Monolith by guywhocodes on Wednesday April 29, 2020 @06:02AM (#23017396)
Absolutely, you probably can't succeed with microservices without selforganizing teams. You just get more hot potatoes to drop