Buildfarm
buildfarm.github.io
- Linux
- API
- Self-hosted
What Buildfarm is
Buildfarm is a free, open-source software stack implementing the Remote Execution API for remote content storage, action-result caching, and asynchronous execution. It works with Bazel, Buck2, Pants, and other build systems using the API. Content Addressable Storage options include in-memory storage, external gRPC, an HTTP/1 proxy, persistent worker disk, and sharded implementations. Workers can execute actions, serve as CAS shards, or perform both roles, and each worker needs local filesystem storage. Buildfarm supports configurable instances, progressive and flow-controlled CAS reads and writes, pluggable external endpoints, and RequestMetadata attribution. A backplane is required for information shared across cluster members; the quick start uses Redis. Documentation covers Linux setup, containers, and an OCI Helm chart, with servers and workers distributed across machines. Authentication can use self-signed TLS certificates, while sandboxing and Linux cgroups control execution. FuseCAS remains experimental and may be unreliable under sustained load.
Who it suits
Buildfarm suits engineering and CI teams needing self-hosted remote execution and caching for compatible build systems. It is designed for Linux deployments that can provide worker storage and a shared backplane.
Good to know, and what to watch
- Apache-2.0 open source license
- Supports Bazel, Buck2, and Pants
- Multiple CAS storage implementations
- Remote execution and action caching
- Container and Helm deployment options
- Requires a backplane such as Redis
- Workers require local filesystem storage
- FuseCAS is experimental
- Linux cgroups need OS support
The verdict
Buildfarm provides configurable remote execution, caching, storage, and deployment options for compatible build systems. Teams must plan for the backplane, worker storage, and the experimental FuseCAS limitation.
What the maker publishes
- Architecture
- Workers can perform execution and CAS shard roles, and either role can be disabled in configuration. source
- Backplane dependency
- Buildfarm requires a backplane for information shared between cluster members, and its quick start uses Redis for that role. source
- Backplane requirement
- Buildfarm requires a backplane for information shared between cluster members, and the quick start uses Redis. source
- Build system compatibility
- The project says it is compatible with Bazel, Buck2, Pants, and other build systems that support the API. source
- Build systems
- The project says it is compatible with Bazel, buck2, Pants, and other build systems that use the Remote Execution API. source
- Caching and execution
- Buildfarm can retain content in a Content Addressable Storage, cache ActionResults, and execute actions asynchronously. source
- Caching and execution
- A Buildfarm cluster can provide Action Cache and Content Addressable Storage for remote caching, and workers can execute build actions remotely. source
- CAS features
- Documented features include configurable instances, progressive and flow controlled CAS reads and writes, pluggable external CAS endpoints, and RequestMetadata attribution. source
- CAS options
- Buildfarm documents in-memory storage, an external CAS proxy, an HTTP/1 proxy, and persistent worker disk storage as CAS implementations. source
- Deployment
- The project documents running Buildfarm server and worker processes, using containers for a minimal cluster, and installing an OCI bundled Helm chart. source
- Deployment scale
- The quick start says deployments can spread servers and workers across machines and describes use by hundreds or thousands of developers or CI processes. source
- Execution controls
- Execution policies can modify or control worker actions, including wrapper policies such as running actions through the Linux sandbox or as the nobody user. source
- Experimental limitation
- The worker documentation says FuseCAS is experimental and may not work reliably over long periods or under substantial load. source
- Feature support
- The project lists configurable instances, progressive and flow-controlled CAS reads and writes, pluggable external CAS endpoints, and RequestMetadata behavior attribution among its supported features. source
- License
- The project repository identifies its license as Apache-2.0. source
- Metrics
- The quick start documents a Prometheus metrics endpoint configurable for the server and worker. source
- Notable limitation
- The worker documentation says the Fuse execution filesystem is experimental and may be unreliable under substantial load. source
- Product
- Buildfarm is a software stack implementing the Remote Execution API for remote content storage, action-result caching, and asynchronous action execution. source
- Purpose
- Buildfarm implements the Remote Execution API for remote caching and execution. source
- Resource limits
- Workers can use Linux cgroups to limit execution resources, and the documentation says this feature requires OS-specific cgroups support available in Linux. source
- Sandboxing
- Configuration can require actions to use a sandbox, and supports settings for cgroups and an as-nobody wrapper. source
- Scale
- The quick start says deployments can spread services across machines and may serve hundreds or thousands of developers or CI processes. source
- Security
- The authentication guide describes configuring client/server authentication with self-signed TLS certificates. source
- Setup
- The quick start demonstrates running the service on Linux and provides a container-based startup option. source
Checked against the maker's pages on 5 Oct 2026.