Page 1 of 1

tar instead of zip during downloading Original files

PostPosted: Mon Jan 15, 2018 12:55 pm
by saleht
Hi all,

i wondering if i can change the behavior of OMERO Web,
steps:
1. login to OMERO Server using OMERO web
2. select some images
3. go to right side and trigger the download of original files
4. press on create zip file

my suggestion is, creating tar file instead of zip, takes little time if you compare it with zip, because tar not really compress the files it just make many files to one.
or you can add new button next to zip button called tar, and the users can select which format he needs

this suggestion came because of the blocking issue, http://www.openmicroscopy.org/community ... f=4&t=8404
then we can avoid two issues:
1. getting time out issue while downloading large files
2. reduce the latency of zipping.

cheers, Saleh

Re: tar instead of zip during downloading Original files

PostPosted: Wed Jan 17, 2018 10:57 am
by wmoore
Hi,

Thanks for the suggestion. However, it would need a bit of investigation to know whether this will provide a significant boost in performance so that it overcomes the problems you're seeing. A lot of the time will be spent on physically downloading the data from OMERO to the web server temp directory and avoiding the compression may not make much difference to the overall timing.

What are your thoughts on the options of either manually downloading the files by clicking on each one, or using JavaScript to do this, as suggested viewtopic.php?f=4&t=8428#p18959 ?
If this approach looks promising it could be explored further. The main limitation of downloading multiple files from web is that they will end up in the same Downloads folder, not structured within directories. But if this is not a limitation then this might be a good option?

Another possibility is to use a dedicated client (not web-based). e.g. https://github.com/mtbc/omero-downloader but this is only a prototype just now.

Regards,

Will.

Re: tar instead of zip during downloading Original files

PostPosted: Tue Feb 13, 2018 1:10 pm
by wmoore
Just an upadate - created a card to look at this...
https://trello.com/c/CkOEJucx/127-web-d ... bigger-zip