Skip to content

✨A reference implementation of the remote cache protocol, on object storage #15158

Open

Description

@spirulence

What are you trying to do?

Offer a reference architecture for an engine cache on object storage: how the protocol's exports, imports, lookups, garbage collection and bucket ownership map onto S3 conditional writes. A working, tested example of the protocol's other half.

Why is this important to you?

I used the existing experimental cache configuration options in Dagger 0.20.x to provide useful cache speedups in pipelines I maintained for clients. These were buildkit exports hosted on S3.

I love the new features introduced in the 1.0 beta of Dagger but have held off on upgrading until I could bring my caching strategy with me.

How are you currently working around this?

I've put together a large contribution in a non-conformant style in a fork to prove out that this could work. I'm able to ship a cache-service image and run it as a side-car with a stock engine.

zerobull-consulting#38

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions