snappy
« Back to VersTracker
Description:
Compression/decompression library aiming for high speed
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: compression c++ performance library data
Install: brew install snappy
About:
Snappy is a compression/decompression library developed by Google that prioritizes extremely high speeds over maximum compression ratios. It achieves this by using a lightweight algorithm that avoids expensive computations, making it ideal for real-time applications. The library is widely used in big data systems like Hadoop and Cassandra for reducing network and storage overhead.
Key Features:
  • Extremely fast compression and decompression speeds
  • Low CPU overhead with minimal algorithmic complexity
  • Good compression ratio for real-time use cases
  • C++ implementation with bindings for multiple languages
Use Cases:
  • High-throughput data streaming and RPC systems
  • Database storage compression (e.g., Cassandra, HBase)
  • In-memory caching systems requiring minimal latency
Alternatives:
  • zstd – Offers better compression ratios with competitive speeds, suitable for archival
  • lz4 – Similar focus on speed, often slightly faster but with slightly lower compression
  • gzip – Higher compression ratios but significantly slower, better for storage
Version History
Detected Version Rev Change Commit
Sep 10, 2025 10:31am 0 VERSION_BUMP 39a1a6e7