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
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud Icon
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud

Get back to your application and leave the database to us. Cloud SQL automatically handles backups, replication, and scaling.

Cloud SQL is a fully managed relational database for MySQL, PostgreSQL, and SQL Server. We handle patching, backups, replication, encryption, and failover—so you can focus on your app. Migrate from on-prem or other clouds with free Database Migration Service. IDC found customers achieved 246% ROI. New customers get $300 in credits plus a 30-day free trial.
Try Cloud SQL 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