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
  • Bonanza, presented by Ed Schouten: slides
  • Buildbarn at Snowflake, presented by Zhimin Xiang and Richard Woodbury: 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 158 101

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

    Tools for Buildbarn to allow remote execution of build actions

    Go 126 72

  3. bb-deployments bb-deployments Public

    Example deployments of Buildbarn on various platforms

    Jsonnet 107 69

  4. bonanza bonanza Public

    An experimental Bazel compatible remote build system

    Go 88 7

  5. bb-browser bb-browser Public

    Web frontend for exploring an Action Cache / Content Addressable Storage

    Go 45 37

  6. bb-clientd bb-clientd Public

    Buildbarn client-side FUSE/NFSv4 daemon

    Go 43 13

Repositories

Showing 10 of 15 repositories
  • .github Public

    Buildbarn

    buildbarn/.github’s past year of commit activity
    0 2 0 0 Updated Apr 22, 2025
  • bonanza Public

    An experimental Bazel compatible remote build system

    buildbarn/bonanza’s past year of commit activity
    Go 88 Apache-2.0 7 1 0 Updated Apr 20, 2025
  • bb-browser Public

    Web frontend for exploring an Action Cache / Content Addressable Storage

    buildbarn/bb-browser’s past year of commit activity
    Go 45 Apache-2.0 37 4 2 Updated Apr 14, 2025
  • bb-remote-execution Public

    Tools for Buildbarn to allow remote execution of build actions

    buildbarn/bb-remote-execution’s past year of commit activity
    Go 126 Apache-2.0 72 6 8 Updated Apr 11, 2025
  • bb-clientd Public

    Buildbarn client-side FUSE/NFSv4 daemon

    buildbarn/bb-clientd’s past year of commit activity
    Go 43 Apache-2.0 13 2 0 Updated Apr 9, 2025
  • bb-storage Public

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

    buildbarn/bb-storage’s past year of commit activity
    Go 158 Apache-2.0 101 13 5 Updated Apr 8, 2025
  • bb-adrs Public

    Architecture Decision Records for Buildbarn

    buildbarn/bb-adrs’s past year of commit activity
    27 6 1 2 Updated Apr 7, 2025
  • bb-portal Public

    Build Event Stream capturing

    buildbarn/bb-portal’s past year of commit activity
    TypeScript 14 Apache-2.0 8 22 2 Updated Mar 26, 2025
  • bb-deployments Public

    Example deployments of Buildbarn on various platforms

    buildbarn/bb-deployments’s past year of commit activity
    Jsonnet 107 Apache-2.0 69 1 5 Updated Mar 20, 2025
  • bb-remote-asset Public

    An implementation of the Remote Asset API

    buildbarn/bb-remote-asset’s past year of commit activity
    Go 8 Apache-2.0 18 8 1 Updated Mar 17, 2025

Most used topics

Loading…