Menu
Microsoft’s Scalar speeds up Git

Microsoft’s Scalar speeds up Git

Free open source app for Windows and macOS accelerates Git commands for large repositories

Credit: Dreamstime

Addressing performance bottlenecks in the Git distributed version control system, Microsoft has introduced Scalar, a set of tools and extensions for Windows and MacOS users that helps Git scale.

Scalar is a C# application that accelerates Git command performance by setting recommended configuration values and running background maintenance. By running scalar register in a Git repo, the following Git features are enabled:

  • Sparse checkout to limit the size of a working directory. 
  • File system monitoring to eliminate the need for Git to scan an entire work tree.
  • Multi-pack indexing to allow fast object lookups across many pack-files.
  • Commit-graph to accelerate commit walks and reachability calculations, speeding up commands such as git log.

Microsoft developed Scalar to address Git’s struggles when managing growing amounts of data. Microsoft has used VFS for Git, formerly the GVFS network protocol, which uses a virtualized file system to help Windows developers use Git with very large repositories. While using VFS for Git, Microsoft identified performance bottlenecks using a trace system and collecting user feedback. The results led to several contributions to the Git client including improvements to git push. Building on these contributions, Microsoft began a project to support very large repositories without needing a virtualized file system. Scalar was the result of those efforts.

Scalar is a .NET Core application installable on Windows or MacOS. Repos cloned with the scalar clone command use GVFS to reduce the amount of data needed to start a repository. By delaying blob downloads until absolutely necessary, Scalar lets users work quickly with very large repositories.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Featured

Slideshows

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments