{"id":18080,"date":"2017-06-01T14:23:18","date_gmt":"2017-06-01T18:23:18","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=18080"},"modified":"2017-06-01T14:23:18","modified_gmt":"2017-06-01T18:23:18","slug":"the-largest-git-repo-on-the-planet","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/06\/01\/the-largest-git-repo-on-the-planet\/","title":{"rendered":"The Largest Git Repo on the Planet"},"content":{"rendered":"<p><a href=\"https:\/\/blogs.msdn.microsoft.com\/bharry\/2017\/05\/24\/the-largest-git-repo-on-the-planet\/\">Brian Harry<\/a> (via <a href=\"https:\/\/twitter.com\/whitequark\/status\/869086153441456128\">@whitequark<\/a>, <a href=\"https:\/\/www.reddit.com\/r\/programming\/comments\/6d355h\/the_largest_git_repo_on_the_planet\/\">Reddit<\/a>):<\/p>\n<blockquote cite=\"https:\/\/blogs.msdn.microsoft.com\/bharry\/2017\/05\/24\/the-largest-git-repo-on-the-planet\/\"><p>Over the past 3 months, we have largely completed the rollout of Git\/GVFS to the Windows team at Microsoft.<\/p>\n<p>As a refresher, the Windows code base is approximately 3.5M files and, when checked in to a Git repo, results in a repo of about 300GB.  Further, the Windows team is about 4,000 engineers and the engineering system produces 1,760 daily &ldquo;lab builds&rdquo; across 440 branches in addition to thousands of pull request validation builds.  All 3 of the dimensions (file count, repo size and activity), independently, provide daunting scaling challenges and taken together they make it unbelievably challenging to create a great experience.  Before the move to Git, in Source Depot, it was spread across 40+ depots and we had a tool to manage operations that spanned them.<\/p>\n<p>As of my writing 3 months ago, we had all the code in one Git repo, a few hundred engineers using it and a small fraction (&lt;10%) of the daily build load.  Since then, we have rolled out in waves across the engineering team.<\/p><\/blockquote>\n\n<p>Previously: <a href=\"https:\/\/mjtsai.com\/blog\/2017\/02\/06\/gvfs-git-virtual-file-system\/\">GVFS (Git Virtual File System)<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Brian Harry (via @whitequark, Reddit): Over the past 3 months, we have largely completed the rollout of Git\/GVFS to the Windows team at Microsoft. As a refresher, the Windows code base is approximately 3.5M files and, when checked in to a Git repo, results in a repo of about 300GB. Further, the Windows team is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[377,37,71,219],"class_list":["post-18080","post","type-post","status-publish","format-standard","hentry","category-technology","tag-git","tag-microsoft","tag-programming","tag-windows"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=18080"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18080\/revisions"}],"predecessor-version":[{"id":18081,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18080\/revisions\/18081"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=18080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=18080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=18080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}