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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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