🍋
Menu
.zst Archive

Zstandard(zstd)压缩

Zstandard(zstd)是一种现代压缩算法,在速度和压缩比之间取得了出色的平衡。它以与 gzip 相似或更好的压缩比实现了显著更快的压缩和解压速度,并支持小数据的字典压缩。

MIME 类型

application/zstd

类型

二进制

压缩

无损

优点

  • + 2-5x faster than gzip at comparable compression ratios
  • + Wide compression level range (1-22) from real-time to archival
  • + Dictionary mode excels at compressing small, similar payloads
  • + Supported in HTTP content encoding and modern Linux distributions

缺点

  • Newer format with less universal tool support than gzip
  • Not natively supported by older operating systems
  • Maximum compression levels are slower than xz for marginal gains

何时使用 .ZST

使用 Zstandard 作为 gzip 的现代替代品 — Web 内容交付、日志压缩、软件包归档以及任何需要快速压缩和良好压缩比的工作负载。

技术细节

Zstandard 将 LZ77 匹配与 tANS(有限状态熵)编码器相结合,支持 22 个压缩级别。字典模式在样本数据上预训练,以对小型相似负载实现卓越的压缩。

历史

Yann Collet(也是 LZ4 的创建者)于 2015 年在 Facebook 开发了 Zstandard。它于 2016 年开源,标准化为 RFC 8478。在 Linux 软件包、HTTP 和数据库中的采用迅速增长。

从 .ZST 转换

转换为 .ZST

相关格式