Hasty Briefsbeta

Snappy Compression Library

14 hours ago
  • #performance
  • #Google
  • #compression
  • Snappy is a compression/decompression library focusing on high speed and reasonable compression, not maximum compression or compatibility.
  • It is significantly faster than zlib's fastest mode but results in 20% to 100% larger compressed files.
  • Performance benchmarks show Snappy compresses at ~250 MB/sec and decompresses at ~500 MB/sec on a Core i7 processor.
  • Widely used within Google in systems like BigTable, MapReduce, and internal RPC systems.
  • Previously referred to as 'Zippy' in some presentations.
  • Includes benchmarks against other libraries (zlib, LZO, LZF, FastLZ, QuickLZ) in the source distribution.
  • Source code contains formal format specifications and a framing format for streaming Snappy data over HTTP.
  • Written in C++ with included C bindings; third-party bindings available for other languages.
  • Used in various software projects; contributions or usage reports can be shared via the Snappy mailing list.