# google/snappy

A fast compressor/decompressor

Repository: https://github.com/google/snappy
Canonical: https://ross.abutalabs.com/products/snappy
Homepage: https://github.com/google/snappy
Language: C++
License: NOASSERTION
License Family: other
Last push: 2026-07-31T10:19:58+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 8, longevity 100
- inputs: {"age_days": 4566, "days_push": 33, "days_rel": 525, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6600, forks 1040 (observed 2026-08-28T04:09:45.596724+00:00)

## What it is
Snappy is a fast compression/decompression library from Google that prioritizes very high throughput over maximum compression ratios. It offers a stable bitstream format, a robust decompressor that resists corrupted input, and speeds of roughly 250 MB/s compression and 500 MB/s decompression.

## Use cases
- compress data fast without high CPU cost
- speed up database or log file storage with lightweight compression
- compress network payloads where latency matters more than size
- decompress untrusted input safely without crashing
- replace zlib when compression speed is the bottleneck

## When to choose
- you need maximum compression/decompression speed and can accept larger output files
- you need a stable, battle-tested format used in production at petabyte scale
- you are compressing text, HTML, or structured data on 64-bit x86 hardware

## When to avoid
- you need the smallest possible compressed size rather than the fastest speed
- you need compatibility with gzip or other standard compression formats
- you target big-endian or non-64-bit platforms where performance degrades
- you are compressing already-compressed data like JPEG or PNG

## Facets
- artifact type: library
- maturity: stable
- function: compression
- domain: developer-tools, performance, files
- platform: cpp, cross-platform, windows
- tags: compression-library, fast-compression, google, lossless-compression, c-plus-plus, linux, macos

## Member repositories
- google/snappy (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.596724+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:43:32.510094+00:00, confidence not recorded.
  - readme: https://github.com/google/snappy (fetched 2026-08-28T04:09:45.596724+00:00, sha 9bed84bc71ca)
  - homepage: https://github.com/google/snappy (fetched 2026-08-29T08:39:49.319600+00:00, sha ba59b79f375e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
