Skip to content
@buildbarn

Buildbarn

Distributed caching and build infrastructure for Bazel, BuildStream, recc, etc.

The Buildbarn project

The Buildbarn project provides an implementation of the Remote Execution protocol. This protocol is used by tools such as Bazel, Buck2, BuildStream and recc to cache and optionally execute build actions remotely.

Repository guide

In bb-deployments you will find example configurations for a full Buildbarn deployment.

You can then have a look at bb-storage to see the implementation of the storage daemon. Buildbarns components takes only one parameter, the path to a configuration file. The schema for the configuration files are described in .proto format and in the proto files you will find detailed descriptions for all of the options.

With bb-storage you can configure a load balanced remote cache solution for your builds after which you can then move on to bb-remote-execution and find the programs required for remote execution.

As your build grows large you can then set up a bb-clientd daemon on your workstation. This is an implementation of the remote output service based on Buildbarns storage implementation.

Join us on Slack!

There is a #buildbarn channel on buildteamworld.slack.com that you can join to get in touch with other people who use and hack on Buildbarn.

Commercial Support

Buildbarn has an active and enthusiastic community. Though we try to help and support those who have issues or questions, sometimes organisations need more dedicated support. The following is a list of community members who you can contact if you require commercial support. Please submit a PR if you wish to have your name listed here. Having a name listed is not necessarily an endorsement.

Commercial Hosting and Professional Services

Buildbarn does not encourage commercial forks and is willing to engage with organisations to merge changes upstream in order to be maintained by the community.

Buildbarn community events

On 2025-03-20, Snowflake hosted our very first Buildbarn meetup. Below is a list of talks that were given.

  • Buildbarn Portal, presented by Trey Ivy: slides
  • Panel discussion with Alex Eagle, Benjamin Ingberg, Ed Schouten, Richard Woodbury, and Scott Minor: video
  • Bonanza, presented by Ed Schouten: video slides
  • Buildbarn at Snowflake, presented by Zhimin Xiang and Richard Woodbury: video slides

Presentations at other venues

The main author of Buildbarn has also given some talks about assorted topics in the past, including:

The slides of all of these talks have been combined into a a single master slide deck.

Popular repositories Loading

  1. bb-storage bb-storage Public

    Storage daemon, capable of storing data for the Remote Execution protocol

    Go 160 104

  2. bb-remote-execution bb-remote-execution Public

    Tools for Buildbarn to allow remote execution of build actions

    Go 128 75

  3. bb-deployments bb-deployments Public

    Example deployments of Buildbarn on various platforms

    Jsonnet 111 73

  4. bonanza bonanza Public

    An experimental Bazel compatible remote build system

    Go 100 9

  5. bb-browser bb-browser Public

    Web frontend for exploring an Action Cache / Content Addressable Storage

    Go 47 38

  6. bb-clientd bb-clientd Public

    Buildbarn client-side FUSE/NFSv4 daemon

    Go 45 14

Repositories

Showing 10 of 15 repositories

Most used topics

Loading…