About SSDB
SSDB is a high-performance NoSQL database that stores data on disk and is positioned as an alternative to Redis. It is written in C++ on top of LevelDB, is designed for collection-style data, and is described as stable and production-ready, with use at a number of internet companies.
It stores persistent key-value, key-zset, key-hashmap and key-list data and can serve Redis clients, so existing Redis tooling can talk to it. Client libraries exist for C++, PHP, Python, Java, Node.js, Ruby and Go, among others. Additional features include a persistent queue service, master-slave replication, load balancing, a PHP-based GUI admin tool called phpssdbadmin, and built-in Nagios-style self-checks.
The server is released under the New BSD license and can be compiled from source. A Windows executable is available from a separate binary repository, and the project can build static libraries for use in iOS apps. Benchmarks against Redis are published in the documentation, which is also available in Chinese.
Key features
- Persistent key-value, zset, hashmap and list storage
- Redis client compatibility
- Client APIs for many languages
- Persistent queue service
- Master-slave replication and load balancing
- phpssdbadmin GUI administration tool
Good fit for
- Disk-backed alternative to in-memory Redis
- Storing large collections of sorted sets and hashes
SSDB: questions and answers
- What is SSDB used for?
- SSDB is a BSD-licensed, disk-based NoSQL database built on LevelDB that supports Redis clients and offers key-value, hashmap, sorted-set and list storage. It is a good fit for storing large collections of sorted sets and hashes.
- Is SSDB open source?
- Yes. SSDB is open source under the BSD-3-Clause licence. Its source code is on GitHub at ideawu/ssdb and is written mainly in C++.
- Is SSDB free?
- Yes. SSDB is open source, so the software itself is free to use.
- Can I self-host SSDB?
- Yes. SSDB can be self-hosted on your own server or infrastructure.
- What is SSDB an alternative to?
- SSDB is an open-source alternative to Amazon MemoryDB. Other open-source alternatives to Amazon MemoryDB include Valkey, Dragonfly and Redis.
- Is SSDB actively maintained?
- The most recent commit to SSDB was on 20 August 2022, and the latest release is 1.9.9, published on 7 October 2020. The project has 8.3k stars on GitHub, with 2 added in the last 30 days.
Open-source alternatives to SSDB
See all
Valkey
Databases
A flexible distributed key-value database that is optimized for caching and other realtime
BSD-3-Clausevs Upstash★ 28k
Dragonfly
Databases
A modern replacement for Redis and Memcached
OSSvs Upstash★ 32k
Redis
Databases
For developers, who are building real-time data-driven applications, Redis is the preferre
OSSvs Upstash★ 77k
ScyllaDB
Databases
NoSQL data store using the Seastar framework, compatible with Apache Cassandra and Amazon
OSSvs Amazon DynamoDB★ 16k
DiceDB
Databases
Open-source, low-latency key/value engine built on Valkey with query subscriptions and hie
OSSvs Upstash★ 11k
Garnet
Databases
Garnet is a remote cache-store from Microsoft Research that offers strong performance (thr
MITvs Upstash★ 12k
SaaS alternatives to SSDB
See all
Amazon MemoryDB
Databases
Durable in-memory database service on AWS compatible with Valkey and Redis OSS
SaaS
Momento
Databases
Serverless cache and pub/sub service with no infrastructure to manage
SaaS
Amazon ElastiCache
Databases
Managed in-memory caching service on AWS for Redis OSS, Valkey and Memcached
SaaS
Google Memorystore
Databases
Managed in-memory data store on Google Cloud for Redis, Valkey and Memcached
SaaS
Aerospike
Databases
Real-time NoSQL database for low-latency, high-throughput applications
SaaS
Amazon DynamoDB
Databases
Serverless key-value and document database from AWS
SaaS

