News for hackers. Stuff that matters.
Re:Why Facebook doesn't use Git by al_borland on Thursday March 07, 2024 @10:56PM (#39637625)
Microsoft had issues git’s ability to scale. According to this[1] they found and submitted solutions to allow git to scale to their needs and worked with the git team. It sounds like Facebook wasn’t partnering with them to solve the problem? The article mentions Microsoft had repos with 6m files and says things now take seconds.

I’m not personally dealing with repos of this size, but it sounds like this is a problem of the past, thanks to Microsoft. I have a hard time believing Facebook would be a bigger beast than Windows.

[1] https://devblogs.microsoft.com/bharry/scaling-git-and-some-b...

Re:Why Facebook doesn't use Git by BobbyTables2 on Thursday March 07, 2024 @11:34PM (#39637815)
It’s remarkable they’re the same company that gave the world Sourcesafe…
Re:Why Facebook doesn't use Git by pellenys on Friday March 08, 2024 @09:27AM (#39641306)
Shudder
Re:Why Facebook doesn't use Git by 0cf8612b2e1e on Friday March 08, 2024 @01:34AM (#39638405)
If you have infinite engineering resources to throw at a problem, seems best to consider multiple avenues. Sure, you could make patches to git, hope they get upstreamed, probably have to maintain an internal fork for years. Or design a system designed around the idea of huge repos.
Re:Why Facebook doesn't use Git by NBJack on Friday March 08, 2024 @12:14PM (#39643215)
I suspect you might be surprised.

They keep almost everything in the same monorepo: every service, Facebook itself, the backend tools, many of the 'spinoff' experiences, the user data processing pipeline, the list goes on. All in one spot. Now, imagine 60-70k engineers, all wanting to have that sweet, sweet impact needed for good ratings and promotions. Add to that the fact that LOC and reviews are used as a metric for productivity.

Windows has to eventually compile into a collection of binaries delivered (at least in part) to their various platforms. Facebook/Meta does not have that kind of limitation; as long as each piece can be extracted for its own purposes and deployed, everyone is 'happy'.

Windows is estimated to be about 50M lines of code. Meta, in one post, simply suggests that it is "many times larger" than the Linux Kernel at 17M. [1]

Is it all needed? Probably not. But it certainly exists.

[1] https://engineering.fb.com/2014/01/07/core-infra/scaling-mer...