bazel-remote vs cachepot
bazel-remote
github.comcachepot
github.comSide by side
| Figure | bazel-remote | cachepot |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Build Cache Software | 8.3 (#4) | 7.9 (#8) |
| Purpose | bazel-remote is an HTTP/1.1 and gRPC server for use as a remote build cache for Bazel and other REAPI clients, or as part of a remote execution service. | Cachepot is a compiler caching tool that avoids recompilation when possible and stores results on local disk or cloud storage. |
Plans
In their own words
bazel-remote
bazel-remote is free, Apache-2.0-licensed open-source software that runs as a self-hosted HTTP/1.1 and gRPC server for Bazel remote caching and other REAPI clients. Cache data can stay on disk with a configured maximum size; least recently used files are removed when that limit is reached. Storage backends include S3, Google Cloud Storage, and an experimental Azure Blob Storage proxy. The server exposes HTTP REST endpoints and REAPI v2 ActionCache, ContentAddressableStorage, Capabilities, and Byte Stream services over gRPC. Zstandard-compressed CAS blobs can reduce network use and increase effective cache capacity. Prometheus metrics are available for HTTP and gRPC endpoints. Deployment options include Docker images, Docker Compose, Kubernetes examples, or a standalone Linux binary, including ARM64 Docker deployments such as Raspberry Pi. Authentication supports .htpasswd-style credentials or mutual TLS; LDAP is experimental, and only one mechanism can be active. TLS settings are configurable. The default permits unauthenticated access, so operators must configure protection.
cachepot
Cachepot is a compiler caching tool for Linux, macOS, Windows, and self-hosted environments. It keeps compilation results on local disk or cloud storage so a build can reuse them rather than compile again when possible. The documented compilers include GCC, Clang, MSVC, rustc, NVCC, and Diab. Cachepot can also distribute compilation in an icecream-style setup, automatically packaging local toolchains. Storage choices include local disk, S3, Redis, Memcached, Google Cloud Storage, and Azure Blob Storage. Build integrations include Cargo, CMake, GNU make, Jenkins, and GitLab CI. The project describes authentication, encrypted transport, and sandboxed execution on build servers as security features; bubblewrap is its preferred sandbox option, with Docker also supported. The default local cache limit is 10 gigabytes and can be changed with CACHEPOT_CACHE_SIZE. Rust crates that invoke the system linker and incrementally compiled crates cannot be cached, and cache hits require matching absolute paths. Cachepot is free and open source under Apache-2.0, but its repository was archived on February 28, 2023, in favor of upstream sccache.