-
Notifications
You must be signed in to change notification settings - Fork 302
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
Feature: prefetch ranged requests #1053
Merged
Merged
Conversation
This file contains 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
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1053 +/- ##
==========================================
- Coverage 46.24% 45.75% -0.49%
==========================================
Files 129 129
Lines 9390 9534 +144
==========================================
+ Hits 4342 4362 +20
- Misses 4564 4679 +115
- Partials 484 493 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
jim3ma
force-pushed
the
feat/prefetch-ranged-requests
branch
from
February 10, 2022 08:19
9e7d122
to
6d3daa1
Compare
244372610
approved these changes
Feb 10, 2022
xujihui1985
approved these changes
Feb 10, 2022
11 tasks
gaius-qi
pushed a commit
that referenced
this pull request
Jun 28, 2023
1. implement prefetch ranged requests 2. optimize exact http code in transport 3. simplify reuse peer task logic 4. reuse peer task for ranged request size error 5. fix data race for peer task storage Signed-off-by: Jim Ma <[email protected]>
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.
Description
When download ranged requests, eg:
http://example.com/file
with header"Range: bytes=0-63"
, we can prefetch the whole file withhttp://example.com/file
. After done these, other requests, eg:http://example.com/file
with header"Range: bytes=64-127"
, can speed up.prefetch
option in dfget.yaml.Related Issue
Motivation and Context
Screenshots (if appropriate):
Types of changes
Checklist: