Skip to content
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

Fetch chunks using concurrent requests #553

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Fetch chunks using concurrent requests #553

merged 1 commit into from
Jan 9, 2025

Conversation

paraseba
Copy link
Collaborator

@paraseba paraseba commented Jan 9, 2025

Only applies if the chunk is large enough. Same logic as with manifests.

This still doesn't apply to virtual chunks, only native. For no reason, we can follow up with virtual chunks in a different PR.

This commit also fixes a bug in chunks with offset != 0 (wich cannot be constructed in IC today)

Base automatically changed from push-stmrlkpzknpl to main January 9, 2025 02:45
Only applies if the chunk is large enough. Same logic as with manifests.

This still doesn't apply to virtual chunks, only native. For no
reason, we can follow up with virtual chunks in a different PR.

This commit also fixes a bug in chunks with offset != 0 (wich cannot be
constructed in IC today)
@@ -322,25 +323,27 @@ where

/// Split an object request into multiple byte range requests
///
/// Returns tuples of (offset, size) for each request. It tries to generate the maximum number of
/// Returns tuples of Range for each request. It tries to generate the maximum number of
Copy link
Contributor

Choose a reason for hiding this comment

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

ah i like this

@paraseba paraseba merged commit b850bdb into main Jan 9, 2025
4 checks passed
@paraseba paraseba deleted the push-zktltwltvpox branch January 9, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants