feat(stresstest): Add multipart capability#470
Open
lcian wants to merge 2 commits into
Open
Conversation
multipart configuration
multipart configurationmultipart capability
93557e1 to
84181ed
Compare
Add a `multipart` config for stresstest workloads that uses the multipart upload API for objects larger than 1 KiB. Part uploads run concurrently via buffer_unordered, with chunks read lazily from the payload to bound memory usage. Includes validation (part_size >= 5 MiB, not compatible with batch mode) and a README documenting all configuration options.
81ad296 to
cbfc66d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## lcian/feat/multipart-upload-rust-client #470 +/- ##
===========================================================================
- Coverage 86.94% 86.44% -0.50%
===========================================================================
Files 80 80
Lines 12303 12383 +80
===========================================================================
+ Hits 10697 10705 +8
- Misses 1606 1678 +72
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional
multipartconfig block for stresstest workloads that exercises the new multipart uploads feature.When enabled, writes for objects >1 KiB use multipart uploads with the configured part size and concurrency.
This can be used in both
weightedandthroughputmode, but not inbatchmode, as that wouldn't make any sense.Also adds a
README.mdthat documents the meaning of all stresstest options and when they can/should be used.Part of FS-343