Artificial Intelligence For Remote Cache #7188
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: feature request
When remote cache is enabled, it would be good to add a field in AC entry to record how much CPU time it took to complete that AC and also a field for the total file size of it's output file. Then according to the network speed, it can calculate if it is faster to run the AC locally or just download the output from remote cache.
On the other hand, it can also set a threshhold wait time for each action accordingly, if the wait time exceeds the threshhold, then do it locally.
If the total build output is over 10GB, then soon enough the network bandwidth becomes the bottleneck.
Also, the assumption that an CAS entry referred by an AC must exist on the server makes it hard to do load balancing and horizonal scale to overcome the network bandwidth bottleneck as mentioned in this issue:
buchgr/bazel-remote#65
The text was updated successfully, but these errors were encountered: