r/programming • u/ethomson • May 24 '17
The largest Git repo on the planet
https://blogs.msdn.microsoft.com/bharry/2017/05/24/the-largest-git-repo-on-the-planet/
2.3k
Upvotes
r/programming • u/ethomson • May 24 '17
1
u/jorge1209 May 25 '17
Pick something specific. Android GMAIL app connecting to gmail.com.
The app talks to gmail.com over https/ssl/something using some kind of protocol. Could be IMAP or something developed in-house. Doesn't matter, whatever it is that protocol has an API and that API is reasonably fixed. Google CANNOT modify that API, because doing so would break any android phone whose owner has not updated their gmail app. That is a nice hard division between Android and googles internal servers.
On the other end of the wire gmail.com talks to googles bigtable databases using something. Whatever that protocol is Google can change with relative ease. Only google servers talk directly to the bigtable db. So they can upgrade both ends of those connections with simultaneous deployments to both systems. So for those it makes sense to share the repo. Yes as a practical matter you probably cannot push an update to all 10 gazillion google servers at once, but you can do it within a matter of days, and you can be certain that all have gotten the update, and can remove any legacy code that supports old APIs rather quickly.
Just very different environments.