Hacker News Comments on
Development at the Speed and Scale of Google
Ashish Kumar
·
InfoQ
·
42
HN points
·
2
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this video.I have seen presentations mentioning google development done as a single monolothic repository
⬐ tonfaThis monolithic repo isn't a git repo.⬐ spiffytechCorrect. See https://news.ycombinator.com/item?id=7020859
No, literally the entire codebase for all of their products is in one Perforce repo. Ashish Kumar, manager of the Engineering Tools team, mentions it in this presentation: http://www.infoq.com/presentations/Development-at-Google
⬐ sekVery interesting, thank you.⬐ rachelbythebayThe kernel? Android? Some other spooky stuff involving the pest control guy who's holding a big rubber mallet when you fail a unit test?Are you sure about that?
⬐ nostrademonsKernel/Android/Chrome/basically anything open-source is different. If the code is going to be open-sourced, it can't have dependencies on proprietary code anyway.⬐ rachelbythebayRight, so "literally the entire codebase for all their products" is incorrect. Thanks.⬐ amalterAh,rachelbythebay, you caught him for being "technically incorrect". Which, depending on how you look at it, is either the best or worst kind of correctness.⬐ jrockwayThe open-source stuff is a rounding error. Think about all the Google products; Search, Google+, Gmail, Groups, Translate, Maps, Docs, Calendar, Checkout, Wallet, Voice, ... those are all in one repository. (Not to mention all the libraries and internal tools; those are all in there too.)⬐ nostrademonsTo be fair, Android and Chrome are pretty huge projects. I know the numbers (though I don't think I can share them outside of Google), and while they're nowhere close to being a big part of the total, they're also big enough to not be considered a rounding error.
⬐ lukeholderwould they merge in head to their build before committing for code review?⬐ lukesandberg⬐ scorpion032Sorry misread the original post.Before a code review you don't have to do a sync but its pretty common to sync frequently. I sync constantly as im developing because it's so easy. Occasionally i see reviews where i can tell that the person hasn't sync'd in a while and if i think it matters ill ask them to sync. This usually doesn't happen though
That is, half of the files in their perforce are "touched in the last 30 days".I was there, live in this presentation, more than a year ago, at Hyderabad and got this clarification from the speaker.
⬐ nikcubvery big difference to what the headline says, which was never going to be correct.⬐ markokocicMuch more informative that the title itself. Touching file and changing maybe one line is not a big deal, but rewriting half of the source code base every months is.⬐ zaph0dThe title is a direct quote from the Google Engg. Tools blog post which was on HN recently - http://google-engtools.blogspot.com/2011/12/bug-prediction-a...⬐ scorpion032True. Half the code can be anything. Half the characters in source, half the lines (Which seem more plausible since version control systems deal with line as a unit) or half of the files or even half the binaries. I'm just clarifying based on my own clarification, which half it is.I don't think, this is any surprising at all. I believe the statistics would remain the same, for many companies.
⬐ admpSome things I did not expect:- 50% of the codebase changes every month;
- Single code tree;
- All of the development happens in HEAD (ditto for dependencies);
- It seems to be (relatively) usual to touch multiple components in a single changeset.
And all of this in the first 10 minutes.
Edit: formatting.