4 ms·
Not including Zstandard is a lost opportunity -- it is far more appropriate than XZ or LZMA for real-time applications like serving web pages. Should be easy t
by ctur 6y ago
Not including Zstandard is a lost opportunity -- it is far more appropriate than XZ or LZMA for real-time applications like serving web pages. Should be easy to add, though, and likely would be a very nice compromise between space, memory, and speed (including tuning various levels of Zstandard compression).
gzip is basically never worth using anymore except for backwards compatibility; zstd is both faster and more space efficient.
lz4 similarly is worth adding for utmost speed but I tend to think zstd is better in practice (particularly when the control plane is Python where perf is somewhat limited anyway).
- pauloxnet 6y ago> Not including Zstandard is a lost opportunity -- it is far more appropriate than XZ or LZMA for real-time applications like serving web pages. The article is about offline creation of compressed data dumps and not about real-time application. The Django code here use only compression algorithms already present in the Python standard library to avoid unnecessary dependencies.