# google/leveldb

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

Repository: https://github.com/google/leveldb
Canonical: https://ross.abutalabs.com/products/leveldb
Language: C++
License: BSD-3-Clause
License Family: permissive
Last push: 2026-03-11T04:06:29+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 8, longevity 100
- inputs: {"age_days": 4389, "days_push": 175, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 39365, forks 8210 (observed 2026-08-28T04:12:07.836695+00:00)

## What it is
LevelDB is a fast embedded key-value storage library from Google providing an ordered mapping from string keys to string values. It is a C++ library, not a server, with support for atomic batches, snapshots, iteration, and Snappy/Zstd compression.

## Use cases
- embed a fast key-value store in a C++ application
- store sorted key-value data locally without running a database server
- build a caching or metadata layer on top of an LSM-tree storage engine
- persist indexed data with forward and backward iteration
- implement a custom storage backend with pluggable OS and compression interfaces

## When to choose
- you need an embedded, single-process key-value store with no server overhead
- you want sorted data with custom comparators, snapshots, and atomic batch writes
- you need a proven, lightweight storage engine to build higher-level databases on

## When to avoid
- you need SQL queries, secondary indexes, or a relational data model
- multiple processes must access the same database concurrently
- you need built-in client-server network access
- you expect active feature development, since the repo receives only limited maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: database, caching, serialization
- domain: databases, developer-tools, backend
- platform: cpp, cross-platform, windows
- tags: key-value-store, embedded-database, lsmtree, storage-engine, snappy-compression, linux, macos

## Member repositories
- google/leveldb (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:07.836695+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-29T16:24:08.096076+00:00, confidence not recorded.
  - readme: https://github.com/google/leveldb (fetched 2026-08-28T04:12:07.836695+00:00, sha 4f35330fd8a1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
