Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement BufferToDiskThenUpload BlobWriteSessionConfig #2139

Merged

Conversation

BenWhitehead
Copy link
Collaborator

There are scenarios in which disk space is more plentiful than memory space. This new BlobWriteSessionConfig allows augmenting an instance of storage to prefer buffering to disk rather than keeping things in memory.

Once the file on disk is closed, the entire file will then be uploaded to GCS.

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label Jul 24, 2023
@BenWhitehead BenWhitehead requested a review from a team as a code owner July 24, 2023 22:49
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels Jul 24, 2023
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m1/2/throughput-sink branch from c0e9cd3 to d277957 Compare July 25, 2023 19:02
@BenWhitehead BenWhitehead requested a review from a team as a code owner July 25, 2023 19:02
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m1/3/buffer-to-disk-then-upload branch 3 times, most recently from eb5d77a to f57b294 Compare July 25, 2023 20:36
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m1/2/throughput-sink branch from d277957 to b0c9cc1 Compare July 31, 2023 16:15
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m1/3/buffer-to-disk-then-upload branch from f57b294 to 203ee70 Compare July 31, 2023 16:41
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m1/3/buffer-to-disk-then-upload branch from 2c436a5 to 203ee70 Compare July 31, 2023 21:33
Base automatically changed from write-acceleration/m1/2/throughput-sink to main July 31, 2023 22:21
There are scenarios in which disk space is more plentiful than memory space. This new BlobWriteSessionConfig allows augmenting an instance of storage to prefer buffering to disk rather than keeping things in memory.

Once the file on disk is closed, the entire file will then be uploaded to GCS.
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m1/3/buffer-to-disk-then-upload branch from 203ee70 to 24ccb78 Compare July 31, 2023 22:22
@BenWhitehead BenWhitehead merged commit 4dad2d5 into main Jul 31, 2023
14 checks passed
@BenWhitehead BenWhitehead deleted the write-acceleration/m1/3/buffer-to-disk-then-upload branch July 31, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants