News for hackers. Stuff that matters.
Re:Ask HN: How many developers should you have before you sw... by smt88 on Monday January 21, 2019 @08:18AM (#18960163)
> microservices are primarily for team scaling

I've never heard this before or thought about it this way. If you need to restructure your code because of your team size, you have a bigger problem with your code than whether it's separated into microservices or not.

"Let's do everything as microservices" seems like a trend from a few years ago that has now somewhat died down. My suspicion is that it was PaaS companies like Heroku pushing people to do this because it made more sense for their products, but I don't have any evidence for that.

Since then, it seems that people have remembered not to solve a problem you don't have. If your code works and it's easy enough to work on it, you don't need to radically change its structure.

Keep in mind that several companies have tens of thousands of employees working on a mono-repo.

> I'm curious to see if there's a clear cut off which dictates that...

There's no clear cut off for anything in managing a software team. It's not a science, and individual situations vary too much to create hard and fast rules.

Re:Ask HN: How many developers should you have before you sw... by closeparen on Monday January 21, 2019 @07:06PM (#18964830)
Monorepos and monoliths are completely separate concepts. There are monoliths that import hundreds of separately versioned components from separate repos. And there are monorepos from which hundreds of different services are deployed, which do not directly link against each other at all. Monorepos are about library versioning, not architecture.
Re:Ask HN: How many developers should you have before you sw... by karmakaze on Monday January 21, 2019 @01:00PM (#18962112)
> If [...] easy enough to work on it, you don't need to radically change its structure.

This is precisely the point. When you have a large number of developers all working on the same deployment unit, it isn't easy to work on. A mono-repo is orthogonal to microservices.

Re:Ask HN: How many developers should you have before you sw... by scirocco on Monday January 21, 2019 @01:23PM (#18962272)
And being difficult to work on means dependencies with other teams, making changes slow. This slows down innovation speed and enables competitors to launch competing services faster. So there's the business need of microservices :)
Re:Ask HN: How many developers should you have before you sw... by drbojingle on Monday January 21, 2019 @08:35AM (#18960259)
Thanks, I appreciate your feedback!

> There's no clear cut off for anything in managing a software team. It's not a science, and individual situations vary too much to create hard and fast rules.

Intuitively, I disagree. There's a lot of nuance for sure but, but there are still patterns that can be noticed.

Re:Ask HN: How many developers should you have before you sw... by smt88 on Monday January 21, 2019 @10:03AM (#18960791)
There may be patterns, but who says they're good patterns? I see more badly-run teams than well-run teams.
Re:Ask HN: How many developers should you have before you sw... by drbojingle on Monday January 21, 2019 @11:17AM (#18961310)
Out of curiosity, from your perspective, is there anything that the bad teams share that the well run teams don't and vice versa?