google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

Automatically resume interrupted resumable uploads

Open coryan opened this issue 8 months ago • 0 comments

That is the point of using resumable uploads.

The client should resume the upload if it is interrupted. The client must query the status of the upload, and start from the last byte received.

Note that when the client is reading from a source that cannot be rewound, then the client must buffer enough data to resume the upload. For HTTP, this implies some limited buffer, and PUTs, and stalling until the previous PUT returns successfully. For BidiStreamingWrite, this can be better, with periodic commits and periodic flushing of the buffer.

coryan avatar May 08 '25 22:05 coryan