googleapis / googleapis/google-cloud-rust
Support progress-based timeouts for downloads
Open
api: storage
priority: p3
type: feature request
- Dominant language
- Rust
- Stars
- 955
- Forks
- 144
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 279
Description
It is hard to define an end-to-end timeout for downloads as (1) the size varies from 0 bytes to 5TiB, (2) part of the delay is caused by the application pulling data fast enough.
We need to define some kind of "progress based" (or rather "lack of progress based") timeouts. The request should timeout if we were not able to receive at least X bytes per second. We should use a different timeout value for "the operation should start downloading within X milliseconds".
Contributor guide
Assessment
This issue has not been assessed yet.