SSDB

Open source

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.

Open-source alternative to

ssdb.io
SSDB homepage screenshot
GitHub stars
8.3k
Last 30 days
+2(+0%)
Last commit
4 yr ago
Repository age
13 years
Version
1.9.9
Licence
BSD-3-Clause
Self-hosted
Yes

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
Tags
nosql
database
key-value
leveldb
redis-compatible
cpp
replication
self-hosted

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

SaaS alternatives to SSDB

See all