# facebook/rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.

Repository: https://github.com/facebook/rocksdb
Canonical: https://ross.abutalabs.com/products/rocksdb
Homepage: http://rocksdb.org
Language: C++
License: GPL-2.0
License Family: copyleft
Topics: database, storage-engine
Last push: 2026-08-25T20:03:12+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 5024, "days_push": 8, "days_rel": 26, "gap_med": 17, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 32011, forks 6911 (observed 2026-08-28T04:11:57.348330+00:00)

## What it is
RocksDB is an embeddable persistent key-value store library written in C++, based on LevelDB and maintained by Meta's Database Engineering team. It uses an LSM-tree design optimized for fast storage like flash drives and RAM, supporting terabytes of data with tunable write, read, and space amplification tradeoffs.

## Use cases
- embed a fast key-value store in my application
- store large amounts of data on flash drives with low latency
- build a database storage engine
- use an LSM-based persistent store for write-heavy workloads
- cache application data persistently
- store multiple terabytes in a single embedded database

## When to choose
- you need an embedded, persistent key-value store with high write throughput
- your workload runs on flash or RAM storage and needs low latency
- you want tunable amplification tradeoffs and multi-threaded compaction
- you're building a server or engine that needs a proven storage core

## When to avoid
- you need a standalone client-server database rather than an embedded library
- you need SQL or rich querying - RocksDB only stores ordered byte keys and values
- you want a simple managed database without C++ integration work
- GPLv2/Apache dual licensing is incompatible with your project

## Facets
- artifact type: library
- maturity: stable
- function: database, caching
- domain: databases, developer-tools, backend
- platform: cpp, windows, cross-platform
- tags: key-value-store, lsm-tree, storage-engine, embedded-database, leveldb, flash-storage, linux, macos

## Member repositories
- facebook/rocksdb (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:57.348330+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:52:12.487095+00:00, confidence not recorded.
  - readme: https://github.com/facebook/rocksdb (fetched 2026-08-28T04:11:57.348330+00:00, sha 99d85d5d88c6)
  - homepage: http://rocksdb.org (fetched 2026-08-29T07:49:05.649530+00:00, sha fa2bef547ad9)
  - site_page: https://rocksdb.org/docs (fetched 2026-08-29T07:49:05.653928+00:00, sha c5d32ddaba82)
  - site_page: https://rocksdb.org/docs/getting-started.html (fetched 2026-08-29T07:49:05.656578+00:00, sha f7483c107cc0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
