Repository navigation
Size the asyncio filesystem's threads by max_workers and add open_async() #1184
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
3f696e0
Size the asyncio filesystem's threads by max_workers and add open_asy…
laughingman7743 5bd1605
Share the filesystem's threads among copies and keep an error after c…
laughingman7743 38281ea
Test a cancelled commit and describe the aio threads of the benchmark
laughingman7743 42f1453
Harden the streamed file and the executors found by code review
laughingman7743 b2b7565
Simplify the pool shutdown, the fork reset, and the streamed file
laughingman7743 5af66ba
Keep a running commit from an abort and a stopped loop from a shutdown
laughingman7743 683b5b3
Synchronize the stopped-loop test and qualify the collection guarantee
laughingman7743 1c50b5e
Return from a shutdown at interpreter exit and normalize max_workers=…
laughingman7743 aef5dc2
Hold the loop through the finalization test and count usable CPUs
laughingman7743 55b8c76
Stop the streamed file at a failed part copy and a commit at a failed…
laughingman7743 5f32a53
Hold the failed part copy in the append test and describe the wait
laughingman7743 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self-review round two, finding 2 (stale prose outside the diff):
benchmarks/README.md:221-223still said that the aio filesystem suite's part uploads and copies run inasyncio.to_thread(), bounded by the default executors. Since this PR, that no longer holds. Repaired in 1ade9fa. The paragraph now describes the file pools and the filesystem pool, and states the pre-#1159 behavior that the 4.1.0 history entry measured.benchmarks/RESULTS.md:35stays as it is: it records the measured 4.1.0 runs and points to #1159, and the combined 4.2.0 run will update it.Validation:
just lintpassed;just docs lint: 0 errors;pytest -k TestAioS3StreamedFile: 22 passed.Deferred, with reasons:
just docs buildbuilds master and the tags). They are left to the docs CI.