Skip to content

ssdb

Disk-based key-value database with Redis client support, for large datasets

Permissive (OSI) · BSD-3-Clause
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

15

Health

Dormant

Overview

Stars

8,324

Last commit

5 years ago

Jul 2021

Repository age

13 years

since Jan 2013

Latest version

1.9.9

Oct 2020

Contributors

–

Releases

0

last 12 months

Language

C++

SSDB is a NoSQL database in C++ that stores data on disk using LevelDB. It handles key-value, hashmap, sorted set and list data, and includes a persistent queue service. It is presented as an alternative to Redis.

Redis clients work with it, and it has client APIs for C++, PHP, Python, Java, Node.js, Ruby and Go. It supports master-slave replication and load balancing. phpssdbadmin provides a GUI, and built-in command-line checks work with Nagios. You build it with make, run ssdb-server with a config file, and connect with ssdb-cli. A Docker image and a Homebrew formula exist, and a Windows binary and an iOS library are also available.

The license is BSD-3-Clause. The project dates to 2013, and its last commit was in July 2021, so expect no new releases.

Who it's for

Teams whose Redis data exceeds available memory

It keeps data on disk through LevelDB while accepting Redis clients.

Skip if: You need the full Redis command set and active upstream development.

Admins running existing SSDB deployments

Replication, a GUI and Nagios checks cover day-to-day operation.

Skip if: You require ongoing security and bug fixes.

The problem it solves

Redis keeps data in memory, which gets costly for large datasets. SSDB stores collections on disk while speaking a Redis-compatible protocol.

Strengths

  • Stores key-value, hashmap, zset and list data on disk
  • Works with Redis clients
  • Master-slave replication and load balancing
  • Client libraries for C++, PHP, Python, Java, Node.js, Ruby, Go
  • Permissive BSD-3-Clause license

Trade-offs

  • No commits since July 2021 and no recent releases
  • Not a full Redis replacement
  • Official benchmarks come from a 2013 laptop

Self-host ssdb

Self-hostable
Yes

Quick start

$ wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
$ unzip master
$ cd ssdb-master
$ make
$ #optional, install ssdb in /usr/local/ssdb
$ sudo make install

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is SSDB free?

Yes. It is open source under the BSD-3-Clause license.

Can I self-host it?

Yes. You build it with make and run ssdb-server.

Does it work with Redis clients?

Yes. Redis clients are supported, and native SSDB clients exist for several languages.

Does it run on Windows?

A prebuilt ssdb-server.exe is available in a separate binary repository.

Similar tools in NoSQL databases

KairosDB

NoSQL databases

Time series database built on Cassandra for storing large volumes of metrics

1.8k 342 10 months ago Dormant Apache-2.0

CrateDB

NoSQL databases

Distributed SQL database for real-time analytics on time-series and IoT data

4.5k 630 today Thriving Apache-2.0

AITable

NoSQL databases

Self-hosted collaborative database with spreadsheet-style views for teams

16k AGPL-3.0

ScyllaDB

NoSQL databases

Cassandra- and DynamoDB-compatible NoSQL database in C++ for low-latency workloads

16k 1.5k today Active ScyllaDB Source Available 1.0

Replaces Amazon DynamoDB

FalkorDB

NoSQL databases

OpenCypher graph database for teams building GraphRAG and AI agent apps

11k 607 today Thriving SSPL-1.0

Replaces Neo4J