SSDB
maintenanceby ideawu (Zuyang Wu) · since 2013
Redis-protocol NoSQL server that keeps strings, hashes, sorted sets and lists on disk in LevelDB.
maintenance. No commits since July 2021 and last release 1.9.9 (Oct 2020); effectively unmaintained. Apache Kvrocks and Pika are maintained Redis-compatible disk stores.
Overview
SSDB is a C++ server by ideawu that speaks the Redis protocol, so ordinary Redis clients work, but stores data in LevelDB on disk instead of RAM. That trades some latency for capacity far beyond memory size at much lower cost, while keeping familiar key-value, hash, sorted-set and list (queue) operations, TTLs and master-slave replication. It was widely used by Chinese internet companies in the 2010s, with Qihoo 360 named in the README. Development stalled after release 1.9.9 in October 2020 and the last commit in 2021; for new Redis-compatible disk-backed storage, Apache Kvrocks or Pika are the maintained options.
Strengths & trade-offs
Strengths
- +Drop-in for many Redis clients while storing data on disk
- +Datasets far larger than RAM at much lower cost than in-memory Redis
- +Supports hashes, sorted sets and lists, not just plain strings
- +Simple master-slave replication
Trade-offs
- −Unmaintained since 2021
- −Only a subset of Redis commands; no Lua scripting or cluster protocol
- −Higher latency than RAM-based Redis
- −No built-in sharding
Great for
- +Large Redis-style datasets that do not fit in memory
- +Leaderboards and counters backed by disk
- +Maintaining existing SSDB deployments
Think twice for
- −New deployments needing maintained software
- −Sub-millisecond caching
- −Apps relying on full Redis features
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- Manual
- Multi-region
- No
- Transactions
- None
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- Primary replica, Client server
- Query languages
- Redis commands (subset)
Single-node capacity is bounded by disk, not RAM; sharding is done client-side or with a proxy.
Deployment
Ecosystem
Alternatives to SSDB
A Redis-protocol database on RocksDB that trades a little latency for disk-sized capacity.
ssdb vs apache-kvrocks →Qihoo 360's Redis-compatible, RocksDB-backed store for datasets too big for memory.
ssdb vs pika →The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
ssdb vs redis →The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
ssdb vs valkey →A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.
ssdb vs dragonfly →Snap's multi-threaded Redis fork with active-active replication and FLASH storage, now dormant.
ssdb vs keydb →SSDB FAQ
What is SSDB?
SSDB is a key-value database by ideawu (Zuyang Wu), first released in 2013. SSDB is a C++ server by ideawu that speaks the Redis protocol, so ordinary Redis clients work, but stores data in LevelDB on disk instead of RAM. That trades some latency for capacity far beyond memory size at much lower cost, while keeping familiar key-value, hash, sorted-set and list (queue) operations, TTLs and master-slave replication. It was widely used by Chinese internet companies in the 2010s, with Qihoo 360 named in the README. Development stalled after release 1.9.9 in October 2020 and the last commit in 2021; for new Redis-compatible disk-backed storage, Apache Kvrocks or Pika are the maintained options.
Is SSDB open source?
Yes. SSDB is open source. License: BSD 3-Clause License.
Does SSDB support ACID transactions?
No. SSDB does not provide ACID transactions; its consistency model is eventual.
Does SSDB scale horizontally?
SSDB has no built-in sharding; scaling out means partitioning data in your application. It is comfortable at medium scale (≤ 10 TB).
How can I run SSDB?
You can self-host it.
What is SSDB best for?
SSDB is a strong fit for large Redis-style datasets that do not fit in memory; leaderboards and counters backed by disk; and maintaining existing SSDB deployments. Think twice for new deployments needing maintained software.
What are the best alternatives to SSDB?
Common alternatives to SSDB include Apache Kvrocks, Pika, Redis, Valkey and Dragonfly. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is SSDB still maintained?
SSDB is in maintenance mode. No commits since July 2021 and last release 1.9.9 (Oct 2020); effectively unmaintained. Apache Kvrocks and Pika are maintained Redis-compatible disk stores.
How popular is SSDB?
SSDB ranks #448 of 844 databases on the WhichDB Score (3.1/100), and #68 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.



