Load contents when they are needed

ABFS combines a Linux filesystem module, local daemons and server infrastructure. Its Content-Addressable Storage Filesystem, CASFS, can populate directory metadata and Git content hashes without fetching every file body. Actual bytes arrive through the cache when a process reads a file. A quick initial checkout therefore does not mean that later operations never need the source data.

Server components ingest Git objects and retain workspace snapshots and build-step results. On the developer host, Cacheman manages local storage while mounting and tapping components connect build tools to the filesystem. Modified files and Git state can also be synchronized between sessions or developer machines.

Reuse requires two checks

Ninja-go first hashes the build command, environment and declared inputs to locate a potentially reusable result. A second phase compares the recorded files actually read by the original step with the current CASFS state. If a dependency differs, the candidate is rejected and the step runs again with access recording enabled.

This matters when a large build graph is incomplete. A compiler flag can refer to a file that the declared dependencies omit. Timestamp checks alone can leave stale artifacts in such cases. Google describes a cache that validates observed content before applying previous outputs, rather than treating a matching declared key as sufficient evidence.

Read the benchmark conditions

Google reports checkout falling from approximately 36 minutes to under eight seconds and a full build dropping from roughly 80 minutes to just over two. These are the team’s Android measurements, averaged over three runs on a GCE n2d-standard-64 virtual machine with 64 vCPUs and 256 GB of RAM. The remote ABFS server operated in the same cloud network as the client.

The comparison already used partial clone and repo sync -j8. Results should still not be generalized to arbitrary laptops, network connections or repositories. Cache reuse, source availability and the similarity of build actions influence the benefit. The published numbers describe a particular infrastructure arrangement, not a universal compilation speed multiplier.

Adoption has distinct stages

Android’s Soong/Ninja pipeline was the first target. Google describes a Bazel proof of concept, while Chromium and the Android Common Kernel are exploring compatibility. Those statements establish different maturity levels. AOSP releases before Android 17 also require patches.

For parallel coding agents, the useful capability is mounting several workspaces while sharing cached source and build results. ABFS changes the development environment; it does not fine-tune model weights or supply a new agent model. Teams evaluating it still need to assess Linux integration, server deployment and the correctness requirements of their own build system.