-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Allow multiple parallel downloads in the Helioviewer client #3862
Conversation
Hello @Raahul-Singh! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-03-13 16:58:41 UTC |
Should I add the changelog as |
I would go with |
You are still calling |
Ah, sorry about this. I made an error in judgement regarding the |
This gives a dramatic improvement in download time when downloading large datasets from the same source. The time it took to download 100 files before this modification: The time it takes now: That's a This increase in speed matters more and would increase in magnitude when downloading a large number of files. For example, to download ~56k images from the server, HelioViewer took approximately 52 hours. |
@Cadair This makes me wonder if, provided this is okay, should not all the clients allow multiple files being so downloaded by stacking them together? |
Here is the script that can be used to eveluate the changes:
|
@Cadair Here is the script that can be used to evaluate the changes:
|
This in fact just allows us to download a list of dates instead of one date at a time? |
Yes. I was wondering if adding a default batch size would be required, along with raising a warning if a certain size is exceeded. We don't want to overwhelm the servers. |
Then we need:
|
So,
This would be keeping a list for the dates with
Setting a |
Sure.
Sure. |
I will close this, this kind of change will need some thought to prevent a user from overwhelming the service. |
As per the discussion during the SunPy community meeting.