Ardb

discontinued

by Yinqi Wen · since 2013

Disk-backed Redis-protocol server with pluggable RocksDB, LevelDB or LMDB engines; unmaintained since 2019.

key-valuespatialdatabase engineopen source (permissive)legacy

discontinued. Last release 0.9.7 (Apr 2018), last commit Apr 2019; unmaintained. Apache Kvrocks or Pika are maintained disk-backed Redis-compatible servers.

Overview

Ardb is a C++ server by Yinqi Wen that speaks the Redis protocol but keeps data on disk through a choice of storage engines: RocksDB by default, or LevelDB, LMDB, WiredTiger, PerconaFT or ForestDB chosen at build time. It implements most Redis commands and data types (strings, lists, sets, sorted sets, hashes, bitmaps, HyperLogLog, streams) plus a 2D spatial index, Lua scripting and pub/sub, and can replicate to or from Redis 2.6/2.8 instances with Sentinel-driven failover. That made it a way to hold Redis-shaped datasets larger than RAM. The last release, 0.9.7, came out in April 2018 and the last commit in April 2019; Apache Kvrocks and Pika now fill the same niche with active development.

Strengths & trade-offs

Strengths

  • +Redis protocol over disk-resident storage for datasets larger than RAM
  • +Choice of six storage engines selected at build time
  • +Can replicate to and from real Redis instances and work with Sentinel
  • +Permissive BSD license

Trade-offs

  • −No commits since 2019; open security and compatibility gaps
  • −Only Redis 2.x-era replication and command coverage
  • −Higher latency than in-memory Redis
  • −No cluster mode or sharding

Great for

  • +Existing deployments that still depend on it
  • +Studying how Redis semantics map onto LSM and B-tree engines

Think twice for

  • −New projects (use Apache Kvrocks, Pika or Redis/Valkey)
  • −Sharded or highly available clusters

Capabilities

Native or official first-party support · 6 of 25 tracked

✓Geospatial
✓Stored procedures
✓TTL / expiry
✓Pub/Sub
✓Durable persistence
✓Compression
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–JSON
–Change data capture
–Triggers
–Materialized views
–Columnar storage
–In-memory
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
None
Consistency
Eventual
Schema
Schemaless
Architecture
Single node, Primary replica, Client server
Query languages
Redis commands, Lua

Single server per dataset; capacity is bounded by disk rather than RAM. Replication follows the Redis 2.x master/slave model.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

compatible withRedis
apis & protocolsRedis protocol (RESP)

Alternatives to Ardb

Compare all→
Apache KvrocksKey-Value10.3

A Redis-protocol database on RocksDB that trades a little latency for disk-sized capacity.

ardb vs apache-kvrocks →
PikaKey-Value5.8

Qihoo 360's Redis-compatible, RocksDB-backed store for datasets too big for memory.

ardb vs pika →
ValkeyKey-Value58.0

The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.

ardb vs valkey →
RedisKey-Value84.3

The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.

ardb vs redis →
DragonflyKey-Value20.7

A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.

ardb vs dragonfly →
MemcachedKey-Value50.6

The original multi-threaded, dead-simple distributed memory cache for key-value blobs.

ardb vs memcached →

Ardb FAQ

What is Ardb?

Ardb is a key-value database by Yinqi Wen, first released in 2013. Ardb is a C++ server by Yinqi Wen that speaks the Redis protocol but keeps data on disk through a choice of storage engines: RocksDB by default, or LevelDB, LMDB, WiredTiger, PerconaFT or ForestDB chosen at build time. It implements most Redis commands and data types (strings, lists, sets, sorted sets, hashes, bitmaps, HyperLogLog, streams) plus a 2D spatial index, Lua scripting and pub/sub, and can replicate to or from Redis 2.6/2.8 instances with Sentinel-driven failover. That made it a way to hold Redis-shaped datasets larger than RAM. The last release, 0.9.7, came out in April 2018 and the last commit in April 2019; Apache Kvrocks and Pika now fill the same niche with active development.

Is Ardb open source?

Yes. Ardb is open source. License: BSD 3-Clause.

Does Ardb support ACID transactions?

No. Ardb does not provide ACID transactions; its consistency model is eventual.

Does Ardb scale horizontally?

Ardb does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run Ardb?

You can self-host it.

What is Ardb best for?

Ardb is a strong fit for existing deployments that still depend on it; and studying how Redis semantics map onto LSM and B-tree engines. Think twice for new projects (use Apache Kvrocks, Pika or Redis/Valkey).

What are the best alternatives to Ardb?

Common alternatives to Ardb include Apache Kvrocks, Pika, Valkey, Redis and Dragonfly. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Ardb still maintained?

Ardb is discontinued. Last release 0.9.7 (Apr 2018), last commit Apr 2019; unmaintained. Apache Kvrocks or Pika are maintained disk-backed Redis-compatible servers.

How popular is Ardb?

Ardb ranks #565 of 844 databases on the WhichDB Score (1.2/100), and #92 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.