-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
Compose segments of download very slow after downloading is slow #12996
Comments
Duplicate for #10961. |
You can find the code in cyberduck/core/src/main/java/ch/cyberduck/core/transfer/download/AbstractDownloadFilter.java Lines 270 to 300 in 2b1b543
If you can find a better performing implementation that would certainly be welcome. |
@dkocher Awesome thanks! Channels and/or buffered writer instead of byte stream are both quite a bit faster. I'm trying to get cyberduck to build locally, once I have, I'll put something together. |
After downloading a multi-segment download of large size (200GB etc.) the recompositing of the file is extremely slow, like hours, longer than the download. I see this was closed previously with a 'don't use segments' workaround, but doing so trashes your ability to
I don't think the workaround solves the problem.
I'd be happy to contribute a fix for this, if someone can point me towards the area of the codebase that functionally recreates the downloaded file from the multiple chunks.
Thanks!
The text was updated successfully, but these errors were encountered: