Skip to main content

6 posts tagged with "performance"

View All Tags

Remote Cache CDC: Reusing Bytes

· 15 min read
Tyler French
Engineer @ BuildBuddy

New content being added to reused content

The goal: move the changed bytes, not the whole output.

BuildBuddy's Remote Cache uses Content-Defined Chunking (CDC) to make large build outputs behave more incrementally. When a binary, bundle, package, or archive is mostly unchanged, BuildBuddy can reuse chunks it has already seen instead of re-uploading or re-downloading the entire file.

In our Bazel chunking implementation PR, we observed 40% less data uploaded and a 40% smaller disk cache when benchmarked on BuildBuddy's own repo. To enable client-side CDC with BuildBuddy, use Bazel 8.7 or 9.1+ and pass --experimental_remote_cache_chunking.

Configuring Remote Bazel with agents

· 3 min read
Maggie Lou
Engineer @ BuildBuddy

Configuring AI coding agents to use Remote Bazel can unlock significant performance improvements for builds and tests. With more compute, a warm analysis cache, and fast network access to co-located remote caches, our remote runners are optimized to ensure agents' time is well spent on logic and reasoning, instead of waiting for builds to complete.

For more details on what Remote Bazel is and some sample use cases, see our blog post on Remote Bazel. For more details on the technical setup of our remote runners, see this blog post.

Remote Bazel: The missing piece for AI coding agents

· 9 min read
Maggie Lou
Engineer @ BuildBuddy

AI coding agents like Claude, Cursor, and Codex are transforming how developers write software. For many developers coding with agents, the bottleneck has shifted from writing code to validating code written by agents - with builds and tests.

Remote Bazel ensures these builds and tests run quickly by running them on powerful remote runners. These runners are colocated with cache and RBE servers, reducing network latency. They can be cloned and reused for future builds, ensuring a warm analysis cache. All the local machine needs to do is stream back the logs.

It's like giving your AI a build farm.

Action Merging

· 7 min read
Iain Macdonald
Engineer @ BuildBuddy

BuildBuddy's remote execution engine merges in-flight executions of identical actions to save our users time and resources. In this blog post, we'll explain why action merging is important, how it works, and some fun stuff we've learned over the years running our implementation in production.