Skip to content

feat(storage): Benchmark with experimental MRD.#11501

Merged
gcf-merge-on-green[bot] merged 7 commits into
googleapis:mainfrom
cjc25:mrd-w1r3
Feb 12, 2025
Merged

feat(storage): Benchmark with experimental MRD.#11501
gcf-merge-on-green[bot] merged 7 commits into
googleapis:mainfrom
cjc25:mrd-w1r3

Conversation

@cjc25

@cjc25 cjc25 commented Jan 24, 2025

Copy link
Copy Markdown
Contributor

Allow benchmarks to use the experimental MultiRangeDownloader for normal range reads.

Note that this does not use a single MultiRangeDownloader across multiple reads, which is supported but would require a more invasive change to the benchmark.

Allow benchmarks to use the experimental MultiRangeDownloader for normal
range reads.

Note that this does not use a single MultiRangeDownloader across
multiple reads, which is supported but would require a more invasive
change to the benchmark.
@cjc25 cjc25 requested review from a team January 24, 2025 15:42
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Jan 24, 2025
if config.readBufferSize != useDefault {
opts = append(opts, option.WithGRPCDialOption(grpc.WithReadBufferSize(config.readBufferSize)))
}
if config.useMultiRangeDownloader {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would only use bidi reads via storage.Reader, not actually use MultiRangeDownloader.

I think this is fine but maybe we should rename the opt; or just have Bidi reads be a transport option instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useMultiRangeDownloaderForSingleRangeReads?

It gets a little unwieldy :) But I agree that users might be a little misled by the current name. I'm open to suggestions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to Chris, I would go with having the option for bidi reads

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, renamed to useGRPCBidiReads to match the experimental option

@tritone tritone added the automerge Merge the pull request once unit tests and other checks pass. label Feb 12, 2025
@gcf-merge-on-green gcf-merge-on-green Bot merged commit 7b49152 into googleapis:main Feb 12, 2025
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 12, 2025
@cjc25 cjc25 deleted the mrd-w1r3 branch February 19, 2025 21:14
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 Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants