My project consist in a big mongodb/gridfs files database, where each file belongs to a "folder" document, and these folders are ordered following a tree structure with one root node.
Now I need to zip a part of the tree (or maybe the whole structure), keeping the tree and files accordingly (the whole tree will be approximately 10To big).
What's the best strategy to do so ? All files are dynamically provided by gridFS (the cache musnt be used in the zip process).
What's the best way to do so ? Thanks for your help !