3 ms·
Why do you believe that archiving and compressing belong in the same layer more than sharding does? The unixy tool isn't zip, it's tar | gzip.
by murderfs 2y ago
Why do you believe that archiving and compressing belong in the same layer more than sharding does? The unixy tool isn't zip, it's tar | gzip.
- edflsafoiewq 2y agotar|gzip does not allow random access to files. You have to decompress the whole tarball (up to the file you want).
- jonjonsonjr 2y agoEven worse, in the general case, you should really decompress the whole tarball up to the end because the traditional mechanism for efficiently overwriting a file in a tarball is to append another copy of it to the end. (This is similar to why you should only trust the central directory for zip files.)