Live data from Hacker News

Facebook's git repo is 54GB

twitter.com

241–245 of 245 posts

Re: Facebook's git repo is 54GB

#242
post #74

Earlier quoted context omitted.

Hello there, have you heard of service oriented architecture? You must be joking to justify a single repository with "easier to change". Your problem is that the code base must be tightly coupled if splitting the services out to different repos is not possible and you need to contribute to multiple repositories to get something done. I would say, the biggest change in Amazon's architecture was moving over to the serv…

SOA isn't a magic bullet. What if multiple services are utilizing a shared library? For each service to be independent in the way I think you are advocating for, you would need multiple copies of that shared library (either via separate copies in separate repos or a shared copy via something like subrepos). Multiple copies leads to copies getting out of sync. You (likely) lose the ability to perform a single atomic c…

I never said it was a magic bullet. What I am suggesting is to have separate services with independent software packages. This is all. Btw. you can't break a service with a commit, all the services are using versioned APIs so when you are building API version n+1 you are not ditching version n. Very simple, seamless upgrade, graceful downgrade. FYI such a system is powering Amazon and it works perfectly at scale.

Re: Facebook's git repo is 54GB

#243
post #228

Earlier quoted context omitted.

I wonder what the biggest code base in the world is. Like you say, games include all sorts of binary assets. Any idea how much actual code is there? The Linux kernel is only 175MB https://git.wiki.kernel.org/index.php/GitBenchmarks#Estimate... The F22 has some 1.7 million LOC http://en.wikipedia.org/wiki/Lockheed_Martin_F-22_Raptor#cit... This graph shows some pretty big things http://dailyinfographic.com/wp-content/…

looking at the plot, i wonder what the heck is up with healthcare.gov... what on earth does the site do that really requires 5e8 loc?

Support Internet Explorer

Re: Facebook's git repo is 54GB

#244
post #236
post #233

Earlier quoted context omitted.

Growth is the reason that companies should avoid what Facebook has done. The company I currently work for anticipated the scaling problems that Google later encountered with Perfoce ( http://www.perforce.com/sites/default/files/still-all-one-se... ) and recognized that while perforce could be scaled further by purchasing increasingly beefy hardware, ultimately you could only reliably scale so far with Perforce. If yo…

I'm assuming you aren't referring to "succeed" in your first sentence. :) It is amusing the amount of hubris our industry has. Seriously, you are talking about outsmarting two of the most successful companies out there. I mean, could they do better? Probably. But it is hard to grok the amount of second guessing any of their decisions get.

But are they successful because of this, or despite it?

Re: Facebook's git repo is 54GB

#245
post #244
post #236

Earlier quoted context omitted.

I'm assuming you aren't referring to "succeed" in your first sentence. :) It is amusing the amount of hubris our industry has. Seriously, you are talking about outsmarting two of the most successful companies out there. I mean, could they do better? Probably. But it is hard to grok the amount of second guessing any of their decisions get.

But are they successful because of this, or despite it?

Really good question. One that I am not pretending to know the answer to.

I do feel that the main reason they are successful is large manpower. That is, competent (but not necessarily stellar) leadership can accomplish a ton with dedicated hard workers. This shouldn't be used as evidence that what they are doing is absolutely correct. But, it should be considered when what they do is called into question.

If you have/know of any studies into that, I know I would love to read them. I doubt I am alone.

Post reply on HN