logoalt Hacker News

mi_lktoday at 1:51 PM2 repliesview on HN

Monorepo benefits maybe a small set of developers that manages it for the whole company, at the cost of most other engineers who develop in it. Unnecessary waste of time.

Case in point another new merge queue has to be created to somehow manage the messiness


Replies

kyrratoday at 2:10 PM

It's really the case that Git is terrible at scale. Honestly most source control is.

When you have teams of 10,000+ people working on code, if you wanted to shard it, it will be lots of little projects, then you're going to have dependency hell. The core in for teams will either have to spend most of their time upgrading everyone's packages, our other teams are going to have to deal with those upgrades.

The core infra teams are either supporting lots of versions all at once, or spending extra time on source control.

I don't know about Uber, but at Google the monorepo is absolutely amazing.

I will the one big issues that is really hard in a monorepo, if you want to upgrade some external library not built by Google, when that library has a large breaking API change, it will never get upgraded.

show 3 replies
medellintoday at 3:07 PM

I know what kind of engineer you are from this comment.