Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize the download speed of bazel third-party libraries #39081

Closed
2 tasks done
hawkingrei opened this issue Nov 11, 2022 · 0 comments · Fixed by #39072
Closed
2 tasks done

optimize the download speed of bazel third-party libraries #39081

hawkingrei opened this issue Nov 11, 2022 · 0 comments · Fixed by #39072
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@hawkingrei
Copy link
Member

hawkingrei commented Nov 11, 2022

Enhancement

Now we use bazel to build tidb and we find go_repository download the go library by the goproxy. But goproxy is unstable and we will download many things by Internet. The most importance thing is that Bazel's repository_cache only caches the download url with sha256. for saving our internet bandwidth, we should do the optimization.

  • we should change the method of downloading the library and download them by the mirror.
  • add repository_cache
@hawkingrei hawkingrei added the type/enhancement The issue or PR belongs to an enhancement. label Nov 11, 2022
ti-chi-bot bot pushed a commit that referenced this issue Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant