News for hackers. Stuff that matters.
Re:Meta developer tools: Working at scale by jonathankoren on Wednesday June 28, 2023 @10:34AM (#36507066)
I stopped reading when I reached that they made their own CVS.

This is a solved problem, and even if it isn’t, there’s entire communities dedicated to it. There’s literally no reason why Facebook needs to be in the business of reinventing the wheel from scratch beyond some dude trying to show “impact”. It’s a distraction from core business problems.

Re:Meta developer tools: Working at scale by rigelbm on Wednesday June 28, 2023 @10:43AM (#36507179)
> This is a solved problem.

Hosting a gigantic monorepo for 25K concurrent users is so far from a solved problem.

Re:Meta developer tools: Working at scale by jonathankoren on Wednesday June 28, 2023 @12:20PM (#36508686)
Well one. Don’t use a mono repo.

Punching yourself in the dick and then proudly proclaiming that you’ve made a robot that grabs your arm every time you go to punch yourself in the dick isn’t progress.

Re:Meta developer tools: Working at scale by sangnoir on Wednesday June 28, 2023 @02:04PM (#36510227)
For a moment, let's assume they do abandon the monorepo. What solution would you recommend for managing code dependencies and coordinating releases between thousands of teams (at a modest 5 repos per team) - git tags?
Re:Meta developer tools: Working at scale by jonathankoren on Wednesday June 28, 2023 @06:13PM (#36513384)
This coordinating releases across teams is not a unique a problem. In fact, every large software organization solves this problem. They don’t usually do it in a assbackwards way due to institutional blindness.
Re:Meta developer tools: Working at scale by sangnoir on Wednesday June 28, 2023 @06:40PM (#36513642)
You're deflecting. What solution would you recommend, since you disapprove of monorepo as a solution to this problem we both agree exists.
Re:Meta developer tools: Working at scale by rsdbdr203 on Wednesday June 28, 2023 @10:05PM (#36515466)
I disliked a lot of things about working at Meta, the monorepo was not one... it was truly amazing, and very well done.
Re:Meta developer tools: Working at scale by __float on Wednesday June 28, 2023 @11:22AM (#36507818)
What version control system do you consider to have solved it?
Re:Meta developer tools: Working at scale by morgannewman on Wednesday June 28, 2023 @11:57AM (#36508361)
You might be surprised to learn that it was not and still is not a solved problem for companies like Meta. Here is an earlier write-up about this topic from Meta: https://engineering.fb.com/2014/01/07/core-data/scaling-merc...
Re:Meta developer tools: Working at scale by TechBro8615 on Wednesday June 28, 2023 @01:15PM (#36509476)
Also keep in mind they've been in hypergrowth mode since 2010 or earlier. Regardless of whether Git is the clear solution today, it definitely wasn't at that time. So it makes sense they invested in building their own tooling.
Re:Meta developer tools: Working at scale by jonathankoren on Wednesday June 28, 2023 @01:44PM (#36509935)
And now it's 2023, and they're inventing the wheel again.
Re:Meta developer tools: Working at scale by spookthesunset on Wednesday June 28, 2023 @03:07PM (#36511071)
Not a very robust analogy. There are tons of different wheel designs out there. Some are good for racing and suck for rain. Some are great in the snow but are noisy and inefficient on the highway. Etc... Maybe their needs are so special they need a wheel design that doesn't commercially exist?
Re:Meta developer tools: Working at scale by TechBro8615 on Wednesday June 28, 2023 @04:29PM (#36512152)
Someone really needs to reinvent that analogy.
Re:Meta developer tools: Working at scale by jonathankoren on Wednesday June 28, 2023 @01:44PM (#36509923)
You might be surprised to learn that they're solving the wrong problem.
Re:Meta developer tools: Working at scale by spookthesunset on Wednesday June 28, 2023 @03:05PM (#36511043)
I don't think you fully understand how big their codebase is and how many different teams are working on it at any given time.

There are very fundamental differences between a mono-repo and a bunch of repos for each "service" or whatever. Lots of tradeoffs. I've worked both and I can see the reasons for huge monorepos. They make a lot of things that were previously hard much simpler... The tradeoff is your tooling needs to be able to scale with growth of the company. And for a company the size of FB, dedicating an entire team to improving the tooling for their monorepo is well worth it.

Re:Meta developer tools: Working at scale by jonathankoren on Wednesday June 28, 2023 @06:14PM (#36513393)
Sit down. I worked at FB.
Re:Meta developer tools: Working at scale by ak67 on Thursday June 29, 2023 @03:17AM (#36517403)
One year in 2014/2015?

Saying that Meta "reinvented CVS" means you either know very little about source control or you are just being purposely misleading. Neither is a very good look.

Re:Meta developer tools: Working at scale by charcircuit on Wednesday June 28, 2023 @12:57PM (#36509233)
>they made their own CVS.

It is a fork of Mercurial and there wasn't a community dedicated to making it scale to the scale Meta was reaching hence why they invented resources in making Mercurial scale.

Re:Meta developer tools: Working at scale by o1y32 on Wednesday June 28, 2023 @06:04PM (#36513274)
That's a very uninformed opinion. Nobody could say that unless they are capable of actually coming up with a solution that can handle version control at Meta's scale.