couchbase/forestdb
A Fast Key-Value Storage Engine Based on Hierarchical B+-Tree Trie observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 53
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4751
- days_rel: n/a
- days_push: 285
- n_releases_24m: 0
Adoption not part of the score
1333 stars · 178 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ForestDB is an embedded key-value storage engine written in C/C++ by Couchbase, using a Hierarchical B+-Tree based Trie (HB+-Trie) as its main index structure. It provides MVCC, snapshots, transactions, WAL, and compaction, and was used in Couchbase Server and Couchbase Lite.
Use cases
- embed a fast key-value storage engine in a C/C++ application
- store binary keys and values with custom key ordering
- build a local database with MVCC and snapshot support
- run a storage engine on mobile devices like iOS and Android
- benchmark alternative key-value storage engines
- implement transactional local persistence with rollback support
When to choose
- you need an embedded, linkable key-value store in C or C++
- your workload has long or binary keys where trie-based indexing outperforms B+-Tree engines
- you need MVCC, snapshots, and ranged iteration in a local store
- you target cross-platform deployment including mobile OSes
When to avoid
- you need an actively developed engine with ongoing community support
- you want a client-server database rather than an embedded library
- your project depends on Couchbase Server 6.0+ where ForestDB was superseded
- you prefer higher-level language bindings or managed storage
Facets
library · maturity maintenance
database caching serialization databases developer-tools mobile-development windows cpp c key-value-store storage-engine b-plus-tree mvcc append-only embedded-database write-ahead-logging linux macos android ios
1 source
- readme: https://github.com/couchbase/forestdb · fetched 2026-08-28 · 54c4af580da2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| couchbase/forestdb | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="couchbase/forestdb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem