googleapis / googleapis/google-cloud-java

[java-storage] Allow customizing divideAndConquerThreshold in TransferManagerConfig

Abierto
#12,627 0 comentarios 0 reacciones 0 asignados Ver en GitHub
api: storage
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.