talira

bazel-remote

A remote cache for Bazel

open sourceApache-2.0self-hostablefree

bazel-remote is an HTTP/1.1 and gRPC server implementing a remote build cache for REAPI clients like Bazel, or a component of a remote execution service. It stores entries in a size-limited directory on disk with LRU eviction and can proxy to S3, GCS or (experimentally) Azure blob storage.

Ways to install

Problems it solves

  • run our own Bazel cache server instead of paying for a hosted one
  • Bazel builds on CI don't share anything with each other
  • a simple cache server for Bazel with a disk size limit
  • back a self-hosted build cache with S3 or GCS
  • need a REAPI-compatible content-addressed store for our build tooling
  • keep a build cache from growing until the disk fills up
  • speed up Bazel for a team without setting up remote execution
  • a cache endpoint that other REAPI clients like Buck2 or Pants can talk to

Features

  • HTTP/1.1 and gRPC
  • LRU disk eviction with max size
  • S3, GCS, Azure proxy backends
  • CAS and action cache

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what bazel-remote does.

  1. BuildBuddy Open source Bazel build event viewer, result store, remote cache, and remote build execution platform.
  2. Depot Software delivery built for machine scale

Compare bazel-remote with the top 3