perf(p2p-14): add adaptive read-path bypasses (#671)#749
Closed
jlon wants to merge 26 commits intoCurvineIO:mainfrom
Closed
perf(p2p-14): add adaptive read-path bypasses (#671)#749jlon wants to merge 26 commits intoCurvineIO:mainfrom
jlon wants to merge 26 commits intoCurvineIO:mainfrom
Conversation
Contributor
Author
Contributor
Author
7bf5bd9 to
cbae9f8
Compare
cbae9f8 to
c032cd5
Compare
added 21 commits
March 30, 2026 08:40
c032cd5 to
1a3ee2b
Compare
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.
Summary
Design
p2p-16.Implementation
curvine-client/src/file/read_accelerator.rsand move read-chunk cache, read-flight locks, adaptive bypass state, and P2P read attempts behind that boundary.block_reader,fs_context, andfs_reader_baseto use the new boundary without changing the worker fallback path.Verification
cargo clippy -p curvine-client --all-targets -- -D warningscargo test -p curvine-client --lib read_accelerator -- --nocapturecargo test -p curvine-client --lib block_reader -- --nocaptureReview Note
main, so GitHub shows cumulative diff.p2p-13top2p-14: adaptive read-path work plus the internal read-acceleration boundary extraction.