News for hackers. Stuff that matters.
Re:Just Use a Monorepo by jeffbee on Thursday January 12, 2023 @08:20PM (#34362762)
> There aren't really any off the shelf monorepo options that scale super well

How can you say this when Perforce on a single machine took Google to absolutely terrifying scale? There is no chance that your mid-sized software company will even slightly tax the abilities of Perforce.

What I believe you meant was there aren't really any good options to make git tolerable for non-trivial projects, and with that I wholeheartedly agree. And that's why these threads are so tiresome: they always boil down to people talking about what git can and cannot do.

Re:Just Use a Monorepo by sanderjd on Thursday January 12, 2023 @08:30PM (#34362840)
The Linux kernel seems pretty non trivial...
Re:Just Use a Monorepo by jeffbee on Thursday January 12, 2023 @09:20PM (#34363174)
Google3 is no joke 1000x larger than Linux.
Re:Just Use a Monorepo by sanderjd on Thursday January 12, 2023 @11:54PM (#34364097)
Yes, but the Linux kernel is still "non-trivial". You said git is not tolerable for non-trivial projects. I think you just meant that it isn't tolerable for "incredibly large" repos, which I do think is right.

It's just a boring semantic point that I'm making, that "non-trivial" was a hyperbolic word choice.

Re:Just Use a Monorepo by groodt on Friday January 13, 2023 @01:08AM (#34364483)
What’s the story behind google3? What happened to google and google2?
Re:Just Use a Monorepo by CobrastanJorji on Friday January 13, 2023 @12:30AM (#34364302)
Google wrote a whole paper on the fact that, with the help of a beast of a single computer, they were able to get Perforce to work for 10,000 employees averaging about 3 commits per second (20 million commits over 11 years) and a much higher volume of other queries. That white paper pointed out that Google had taken performance to the "edge of Perforce's envelope" and they were only able to do that by treating Perforce's performance limitations as a major concern and striping a fleet of hard drives on that machine with RAID 10.

https://www.perforce.com/sites/default/files/still-all-one-s...

That's not an endorsement for a company as big as Google was then looking for an easy, off the shelf solution. It'd probably be just fine for a company of hundreds, but so would git.

On the other hand, if you play to its strengths, it's probably a great choice. Maybe a team of dozens of content developers checking in large assets for videogames. Perfectly great use case for Perforce.

Re:Just Use a Monorepo by jeffbee on Friday January 13, 2023 @12:34PM (#34370976)
An organization with 10000 software developers is already dangerously large. There is no way to define mid-sized as 10k SWEs.