Git Product home page Git Product logo

Comments (5)

ndmitchell avatar ndmitchell commented on April 28, 2024 4

I guess a contributor would be most welcome. Ideally doing it in the generic sense as a library on crates.io that we then pull in, but open to other alternatives.

from buck2.

thoughtpolice avatar thoughtpolice commented on April 28, 2024 3

I've begun to sketch out an implementation of the 3 remote execution APIs (logstream, asset, execution) here, using tonic:

https://github.com/thoughtpolice/reapi-server

It's extremely primitive, and every RPC endpoints cancels as unimplemented!(), but you can query its schema with grpcurl to see its structure. While I'm personally experimenting with BuildBarn for a clustered solution, a local only solution will still be needed IMO, and it might be useful for other things later on.

The goal would be inevitably for buck2d to use this, I suppose.

I'll be implementing each API as I can slowly, and some of it might be reusable, but please, I welcome anyone helping. :)

from buck2.

ndmitchell avatar ndmitchell commented on April 28, 2024

Great idea! Yep, that's something we've considered. The other alternative is to make a generic "local remote execution" client separate to Buck2, which can be reused by both Buck2 and other RE compatible projects (e.g. Bazel). In an ideal world the local RE client would be a Rust library, so other people can use it stand alone, and we can also easily import it into buck2d and offer it with a zero-install option for Buck2.

I don't think anyone is working on it yet.

from buck2.

danmx avatar danmx commented on April 28, 2024

So what's the direction? Do you look for contributions?

from buck2.

danmx avatar danmx commented on April 28, 2024

Check out turbo-cache. Maybe some parts could be reused

from buck2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.