| ▲ | marginalia_nu 6 hours ago | |||||||||||||||||||||||||||||||
Zip with no compression is a nice contender for a container format that shouldn't be slept on. It effectively reduces the I/O, while unlike TAR, allowing direct random to the files without "extracting" them or seeking through the entire file, this is possible even via mmap, over HTTP range queries, etc. You can still get the compression benefits by serving files with Content-Encoding: gzip or whatever. Though it has builtin compression, you can just not use that and use external compression instead, especially over the wire. It's pretty widely used, though often dressed up as something else. JAR files or APK files or whatever. I think the articles complaints about lacking unix access rights and metadata is a bit strange. That seems like a feature more than a bug, as I wouldn't expect this to be something that transfers between machines. I don't want to unpack an archive and have to scrutinize it for files with o+rxst permissions, or have their creation date be anything other than when I unpacked them. | ||||||||||||||||||||||||||||||||
| ▲ | 1718627440 5 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
Isn't this what is already common in the Python community? > I don't want to unpack an archive and have to scrutinize it for files with o+rxst permissions, or have their creation date be anything other than when I unpacked them. I'm the opposite, when I pack and unpack something, I want the files to be identical including attributes. Why should I throw away all the timestamps, just because the file were temporarily in an archive? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | LtdJorge an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Doesn’t ZIP have all the metadata at the end of the file, requiring some seeking still? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | stabbles 6 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||
> Zip with no compression is a nice contender for a container format that shouldn't be slept on SquashFS with zstd compression is used by various container runtimes, and is popular in HPC where filesystems often have high latency. It can be mounted natively or with FUSE, and the decompression overhead is not really felt. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||