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

nel_h2
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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