bazelbuild/bazel

Add bazel flag for max_cas_entry size.

Open

#18,449 建立於 2023年5月19日

在 GitHub 查看
 (8 留言) (3 反應) (1 負責人)Java (4,465 fork)batch import
P3help wantedteam-Performanceteam-Remote-Exectype: feature request

倉庫指標

Star
 (25,384 star)
PR 合併指標
 (平均合併 22天 20小時) (30 天內合併 77 個 PR)

描述

Description of the feature request:

As of today, the max_cas_entry_size is declared at the server side. In the event that Bazel sends a write request containing a digest larger than the specified max_cas_entry_size, the remote cache throws an 'out_of_range' error. By introducing a Bazel flag for max_cas_entry_size, it becomes possible to validate it on the client side, potentially eliminating the need for a round trip to the server. This improvement has the potential to enhance build performance.

What underlying problem are you trying to solve with this feature?

Improved build performance with remote cache.

貢獻者指南