Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger. Snappy is intended to be fast. On a single core of a Core i7 processor in 64-bit mode, it compresses at about 250 MB/sec or more and decompresses at about 500 MB/sec or more. (These numbers are for the slowest inputs in our benchmark suite; others are much faster.) In our tests, Snappy usually is faster than algorithms in the same class (e.g. LZO, LZF, QuickLZ, etc.) while achieving comparable compression ratios.

Features

  • Compression speeds at 250 MB/sec and beyond, with no assembler code
  • Over the last few years, Snappy has compressed and decompressed petabytes of data in Google's production environment
  • The Snappy bitstream format is stable and will not change between versions
  • The Snappy decompressor is designed not to crash in the face of corrupted or malicious input
  • Free and open source software
  • Snappy is licensed under a BSD-type license

Project Samples

Project Activity

See All Activity >

Categories

File Compression

License

MIT License

Follow Snappy

Snappy Web Site

Other Useful Business Software
Cut Data Warehouse Costs up to 54% with BigQuery Icon
Cut Data Warehouse Costs up to 54% with BigQuery

Migrate from Snowflake, Databricks, or Redshift with free migration tools. Exabyte scale without the Exabyte price.

BigQuery delivers up to 54% lower TCO than cloud alternatives. Migrate from legacy or competing warehouses using free BigQuery Migration Service with automated SQL translation. Get serverless scale with no infrastructure to manage, compressed storage, and flexible pricing—pay per query or commit for deeper discounts. New customers get $300 in free credit.
Try BigQuery Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Snappy!

Additional Project Details

Programming Language

C++

Related Categories

C++ File Compression Software

Registered

2021-11-01