Improvements on the zip feature

enricodias4654

Member
YetiShare User
Jan 13, 2015
411
1
16
Hello

Here are some ideas to improve the zip feature:

- The final zip file could be added as a new file in the users account.
- Currently the ajax request to zip files is sent to the main server and the main server downloads all the files and compact them. This could overload the main server, use all available ram and 100% cpu. A better approach is to spread this work among direct servers.
- An unzip function would be nice.
- The .rar format is pretty common and could be supported.
- The code in the 4.2 stores each file in the memory to compact it. This will lead to huge ram consumption when compacting large files. There are better methods to do this without storing the files in memory.