Zstandard is a fast compression algorithm, providing high compression ratios. It also offers a special mode for small data, called dictionary compression. The reference library offers a very wide range of speed / compression trade-off, and is backed by an extremely fast decoder (see benchmarks below). Zstandard library is provided as open source software using a BSD license. Its format is stable and published as IETF RFC 8478. The negative compression levels, specified with --fast=#, offer faster compression and decompression speed in exchange for some loss in compression ratio compared to level 1, as seen in the table above. Zstd can trade compression speed for stronger compression ratios. It is configurable by small increment. Decompression speed is preserved and remain roughly the same at all settings, a property shared by most LZ compression algorithms, such as zlib or lzma.

Features

  • Zstd offers a training mode, which can be used to tune the algorithm for a selected type of data
  • Training Zstandard is achieved by provide it with a few samples
  • The result of this training is stored in a file called "dictionary", which must be loaded before compression and decompression
  • Using this dictionary, the compression ratio achievable on small data improves dramatically
  • Zstandard API is designed with learning curve in mind
  • The reference library offers a very wide range of speed / compression trade-off, and is backed by an extremely fast decoder

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Zstandard

Zstandard Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Zstandard!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

C

Related Categories

C Algorithms, C File Compression Software

Registered

2021-04-12