Google Open-Sources ABFS to Accelerate Development in Large Git Repositories
Recently released on GitHub, Google ABFS (Another Build File Service) aims to accelerate development on large Git repositories by reducing checkout and build times. Originally developed to speed up Android builds, ABFS is being extended to work with Bazel and Chromium. By Sergio De Simone
Google has open-sourced ABFS (Another Build File Service), a tool designed to accelerate development in large Git repositories. Originally created to speed up Android builds, ABFS is now being extended to work with Bazel and Chromium. By replacing massive local source checkouts with a virtual, content-addressable filesystem (CASFS), ABFS significantly reduces checkout times from around 36 minutes to under 8 seconds, and full build times from around 80 minutes to just over 2 minutes.
ABFS achieves these improvements by streaming files on demand only when a build touches them and utilizing shared build caching to eliminate redundant downloads and compilation. This enables parallel agentic workflows, which often require duplicating substantial amounts of work, and improves shared cache reuse across CI and developers' workspaces.
ABFS combines CASFS, a custom Linux kernel module, with local caching daemons and server-side infrastructure to stream source files on demand only when needed.
Brief written by urgent.news; may contain errors — check the original.
Source: infoq.com