googleapis / googleapis/google-cloud-java
[java-storage] Allow customizing divideAndConquerThreshold in TransferManagerConfig
- 主要言語
- Java
- スター
- 2.1k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 157
説明
Thanks for stopping by to let us know something could be better!
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
**Is your feature request related to a problem? Please describe.**
divideAndConquerThreshold is set to 128 MiB in DefaultQoS. There's no way to change this from any public methods. Our use case requires downloading files of arbitrary sizes concurrently, some < 128 MiB, some < 1 GiB, and some > 10+ GiB. We see that divideAndConquerThreshold adds overhead for these medium sized files.
**Describe the solution you'd like**
Allow defining divideAndConquerThreshold via public methods in TransferManagerConfig.
**Describe alternatives you've considered**
There's no way to accomplish this currently from what I can tell.
**Additional context**
Is there a reason 128 MiB was chosen?
コントリビューションガイド
調査の方向性
まず TransferManagerConfig と DefaultQoS を調査し、特に divideAndConquerThreshold が現在どのように定義されているか、また他の設定値がどのように公開されているかを確認します。しきい値の公開設定を追加し、カスタム値が受け入れられ、サイズの異なる転送に使用されることを示す対象を絞ったテストを更新または追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- cloud
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100