Google Is 2 Billion Lines of Codeâ€”And It's All in One Place
Rich Hua stashed this in Technology
Google is 40 times as big as Microsoft Windows.
Googleâ€™sÂ Rachel PotvinÂ came pretty close to an answer MondayÂ at an engineering conference in Silicon Valley. She estimates that the software needed to run all of Googleâ€™s Internet servicesâ€”from Google Search to Gmail to Google Mapsâ€”spans some 2Â billionÂ lines of code. By comparison, Microsoftâ€™s Windows operating systemâ€”one of the most complex software tools ever built for a single computer, a project under development since the 1980sâ€”is likelyÂ in the realm of 50 million lines.
25,000 engineers have contributed to Google's code base.
Basically, Google has built its own â€śversion control systemâ€ť for juggling all this code. The system is called Piper, and it runs across theÂ vast online infrastructure Google has builtÂ to run all its online services. According to Potvin, the system spans 10 different Google data centers.
Piper spans about 85 terabytes of data (aka 85,000 gigabytes), and Googleâ€™s 25,000 engineers make about 45,000 commits (changes) to the repository each day. Thatâ€™s some serious activity. While the Linux open source operating spans 15 million lines of code across 40,000 software files, Google engineers modify 15 million lines of code across 250,000 filesÂ each week.