TFS Git 已改善對超大型repository 的效能問題

  • 108
  • 0
  • 2017-02-06

說明TFS Git 已改善對超大型repository 的效能問題

Git 本身為分散式版控  因此當Repository 檔案數極大時(所謂的"大" 指的是像Windows OS原始碼, 約3.5M檔案數, 270GB的Repository的規模)

效能會急速下降 為了改善這個問題

微軟使用了GVFS (Git Virtual File System)

GVFS 只在Repository 中的檔案被開啟時才下載

並且在執行Git指令時 會過濾掉與指令無關的檔案 以加快指令效率

詳情請參考以下網址:

https://blogs.msdn.microsoft.com/visualstudioalm/2017/02/03/announcing-gvfs-git-virtual-file-system/

https://mspoweruser.com/microsoft-announces-git-virtual-file-system-to-support-very-large-repos/

https://github.com/Microsoft/gvfs

 

風來疏竹,風過而竹不留聲;雁度寒潭,雁去而潭不留影。故君子事來而心始現,事去而心隨空。