You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multi-thread download of a single file using http range.
Current Behavior
One http request is used to download the whole file.
Expected Behavior
Multiple requests can be used to speed up the download process.
Possible Solution
After getting the content length of a file, we can split it into multiple chunks. Then, we can spawn n downloaders to download those chunks. Finally, we can merge them into a whole file.
For resuming download, we need a separated file to track the whole download process like what aria2 does.
The text was updated successfully, but these errors were encountered:
A simple workaround is to add a range property to Download structure. Then users can HEAD the file themselves and split the whole file into multiple ranges. But it looks hacky 😄
Feature request
Multi-thread download of a single file using http range.
Current Behavior
One http request is used to download the whole file.
Expected Behavior
Multiple requests can be used to speed up the download process.
Possible Solution
After getting the content length of a file, we can split it into multiple
chunk
s. Then, we can spawnn
downloaders to download those chunks. Finally, we can merge them into a whole file.For resuming download, we need a separated file to track the whole download process like what aria2 does.
The text was updated successfully, but these errors were encountered: