baize

command module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 5 Imported by: 0

README

BAIZE

go.dev reference License

Baize, mythical creatures in ancient Chinese mythology, who can speak with people, know every thing, It considered to have psychic powers, and can wipe out all evil spirits in the world.

Why use this name? Because it's pronunciation is very similar to bazel, which is open source by Google. And this project is related to bazel.

中文

About

This project provide a minimum implement of bazel remote execution, can be used to learn how bazel remote execution works.

I also expect this project can be complete gradually, and can be used in the production environment.

Design

Baize

In shorts, Bazel Remote Executor exports two server for clients.

  1. Cache Server receives all materials, contains user src files, user action info, result of the action from executors, etc.
  2. Execute Server can make the execution from users to Executors.

Cache Server has more than one backend. For small object, we use memory as backend;for medium object, we use seaweedfs as backend; for big object, we use oss.

Execute Server do actions from clients to executors.

Development

modify codes in cmd and pkg, and run following script

./deploy/docker-compose/up.sh

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL