# yinqiwen/ardb

A redis protocol compatible nosql,  it support multiple storage engines as backend like Google's LevelDB, Facebook's RocksDB, OpenLDAP's LMDB,  PerconaFT, WiredTiger, ForestDB.

Repository: https://github.com/yinqiwen/ardb
Canonical: https://ross.abutalabs.com/products/ardb
Language: C++
License: BSD-3-Clause
License Family: permissive
Topics: redis, key-value, persistence, database, server, c-plus-plus, rocksdb, lmdb, leveldb, wiredtiger, percona, forestdb, nosql, nosql-database, lua
Last push: 2021-11-12T01:20:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4907, "days_push": 1756, "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 1848, forks 274 (observed 2026-08-28T04:05:43.631793+00:00)

## What it is
Ardb is a Redis-protocol-compatible persistent NoSQL key-value server written in C++ that supports pluggable storage engines such as RocksDB, LevelDB, LMDB, WiredTiger, PerconaFT, and ForestDB. It supports most Redis commands, data structures, replication, Lua scripting, pub/sub, transactions, and works with existing Redis clients.

## Use cases
- run a redis-compatible server with disk persistence
- swap storage engines like rocksdb or lmdb under a redis protocol server
- use redis clients against a persistent key-value store
- replicate redis data to a persistent nosql slave
- store redis data structures like sorted sets and hashes on disk
- self-host a redis alternative with online backup

## When to choose
- you need Redis semantics but data must persist durably to disk
- you want to choose a specific LSM or B-tree storage engine backend
- you want to use existing Redis clients and tooling unchanged
- you need Redis replication or sentinel failover with persistent storage

## When to avoid
- you need the full latest Redis feature set or newest commands
- you only need an in-memory cache and can just use Redis
- you need a very actively maintained project - the latest release is from 2021
- you need cluster/sharding features beyond what Ardb supports

## Facets
- artifact type: service
- maturity: maintenance
- function: database, http-server, caching
- domain: databases, backend, self-hosted
- platform: cpp, self-hosted, cli
- tags: redis-protocol, key-value-store, nosql, rocksdb, leveldb, lmdb, wiredtiger, persistent-kv, redis-compatible, linux, macos

## Member repositories
- yinqiwen/ardb (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:43.631793+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-30T03:17:49.331291+00:00, confidence not recorded.
  - readme: https://github.com/yinqiwen/ardb (fetched 2026-08-28T04:05:43.631793+00:00, sha ecffea7d88c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
