Open apetkau opened 6 years ago
I think Simon is probably imagining what Galaxy is doing, so we could model the UI after that.
I think that we should probably just go with the easiest thing to start: launch a thread. I don't think we should do another scheduled task. Maybe use something like the async tasks defined in spring mvc? http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-async
Imported from GitLab. Originally posted on 2016/07/06 08:18AM Originally posted by Franklin Bristow
Thinking about this a little bit. I think I would do it as an input box on the sample/files page similar to the upload files button. Because it could take a little while I wouldn't want to make the user wait while it downloads the files. That would mean either launching a thread to run the downloads, or using another scheduled task. The benefit to the scheduled task is that if 4 people are trying to download from NCBI at a time it wouldn't clog the tubes. I guess the same thing could be achieved with a thread pool. @franklin.bristow any thoughts?
Imported from GitLab. Originally posted on 2016/07/05 04:07PM
Imported from GitLab issue #383. Originally posted on 2016/07/05 02:14PM