googleapis / googleapis/google-cloud-rust

Support progress-based timeouts for downloads

Open
#2,045 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.