tricorder-observability / Starship

Starship: next-generation Observability platform built with eBPF+WASM
GNU Affero General Public License v3.0
163 stars 23 forks source link

Configure bazel downloader to accelerate artifact fetching for using from inside mainland China #179

Open nascentcore-eng opened 1 year ago

nascentcore-eng commented 1 year ago

The current situation, motivation for this task Bazel download and builds basic artifacts like protocol buffer compiler and base protobuf .proto (like any.proto) from Internet during bootstrapping. This process is very slow for users in mainland China.

Describe the solution https://blog.aspect.dev/configuring-bazels-downloader Seems the right direction

Describe alternatives considered Maybe swap out the dependent artifacts through specific command line flags or configs; Like for protocol buffer compiler, one can specify a different compiler with a command line flag: https://stackoverflow.com/a/68927426

Additional context None