-
Notifications
You must be signed in to change notification settings - Fork 1k
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
FTP upload in upload form uses a separate request for each selected file #1090
Comments
We could implement something like this here: https://gist.github.com/guerler/6fab29fe67a02972b70c. |
I click to 'upload' ~800 small fastq files into my history, there is a code running within that browser for ~ one hour, consuming resources, if I close the window before that hour has finished, the remaining FTP files will not be added to my history. I must leave that browser window alone, consuming resources and connected to the internet, for an entire hour; closing the browser window to stop the long running process or disconnecting from the internet during that hour will cause the remaining FTP files to not be added to the history. It used to be one-click one-job (one POST is the important part), with job executed returned from the upload tool. Files would churn in the background and a user could use Galaxy while FTP files were being imported. |
Thanks for the details, and yes, that needs to be fixed then. |
+1. I run into this as well. Actually, even the multi-select function is slow with a few hundred items and causes a script-kill alert with Chrome. |
+1: Average CPU consumption of Chrome 45-65% while adding the files that are already uploaded via FTP, 768 files, 3,9GB - 30+ minutes? ;) |
@martenson let me know if you need help and/or are working on this. |
@guerler I have not been working on this, it is on my shortlist, but I think that after the conference month I will start with libraries first. IOW feel free to tackle this. |
issue above tracked in #4780 |
This causes the case where my computer must remain on and connected to the internet until all of the ftp files are added to the history (running/queued state is OK). If I disconnect or leave the page, then my files stop being added to the history/job queue for upload. Since the files are already on the server, I should be able to expect this to be a very quick operation on the user end, and not require staying connected for more than a few seconds after clicking upload.
This processes can take several minutes to hours, depending on the number of files that I am trying to import to my history.
It also causes significant long-term client resource drain (and possible browser warning messages?) due to long running scripts.
Each file selected will also be its own upload job (instead of batching them together as one job with many files) -- not sure if this is better or worse. Multiple uploads will finish faster, but at the expense of being able to run other (non-upload) jobs while all of the individual upload jobs run, and for what is a single user action.
The text was updated successfully, but these errors were encountered: