Accelerating development for massive Git repositories
Accelerating development for massive Git repositories
Google introduced Another Build File Service (ABFS), a content-addressable filesystem stack that lazy-loads and caches source code, workspaces, and build outputs, cutting Android source checkout from about 36 minutes to under 8 seconds and full builds from about 80 minutes to just over 2 minutes. ABFS uses a Linux kernel module (CASFS), user-space daemons, and a gRPC CAS server, with Ninja-go replacing timestamp checks with two-phase content-addressable caching that verifies read patches to preserve clean-build correctness. It is open source and designed to extend to other large Git-based projects, with a Bazel proof-of-concept and exploration by Chromium and the Android Common Kernel.
It documents concrete performance numbers and an open-source architecture for scaling large Git-based builds and parallel agent workflows.
Source: Google Developers Blog · developers.googleblog.com