Skip to content

KeyDB

Multithreaded Redis fork for teams wanting higher throughput on the same hardware

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

Listed by , founder & editor

18

Health

Dormant

Overview

Stars

12,503

Last commit

3 years ago

Apr 2024

Repository age

7 years

since Feb 2019

Latest version

v6.3.4

Oct 2023

Contributors

–

Releases

0

last 12 months

Language

C++

KeyDB is a fork of Redis written in C++ and licensed under BSD-3-Clause. It focuses on multithreading, memory efficiency and throughput. It keeps compatibility with the Redis protocol, modules and scripts, so it can stand in for an existing Redis deployment.

Beyond speed, it adds Active Replication, FLASH storage support and subkey expires. Its MVCC architecture lets commands like KEYS and SCAN run without blocking the database. Active Replication simplifies hot-spare failover and lets you spread writes across replicas using plain TCP load balancing.

You run it yourself on Linux or macOS from the command line, and a Homebrew formula is available. Snap Inc. built it for its own caching infrastructure and releases it fully open source, with no separate commercial product or paid support.

Note that the repository has seen no commits since April 2024, with the latest release being v6.3.4.

Who it's for

Teams running Redis for caching

It speaks the Redis protocol and supports modules and scripts, so swapping it in needs few changes.

Skip if: You need a project with active releases and fresh security patches.

Operators who want simple failover

Active Replication lets you distribute writes across replicas with basic TCP load balancing.

Skip if: You already run a managed Redis service and do not want to operate your own servers.

The problem it solves

A single Redis instance uses one main thread, so scaling often means adding hardware or external components. This fork aims to get more throughput from the same machine while keeping your clients and scripts working.

Strengths

  • Compatible with the Redis protocol, modules and scripts
  • Multithreaded design aimed at higher throughput
  • Active Replication for simpler hot-spare failover
  • KEYS and SCAN run without blocking, thanks to MVCC
  • Permissive BSD-3-Clause license

Trade-offs

  • No commits since April 2024 and no releases in the last year
  • No paid support; help comes from community channels
  • Runs only on Linux and macOS, self-managed
  • Upstream Redis features after the last sync may be missing

Self-host KeyDB

Self-hostable
Yes

Frequently asked questions

Is it free?

Yes. It is BSD-3-Clause licensed, and there is no separate commercial edition.

Is it a drop-in Redis replacement?

It keeps compatibility with the Redis protocol, modules and scripts, so existing deployments can usually switch over.

Can I self-host it?

Yes. You run it on your own Linux or macOS machines, and a Homebrew formula is available.

Is it still maintained?

Activity has stopped. The last commit was in April 2024 and the latest release is v6.3.4.

Similar tools in NoSQL databases

kapacitor

NoSQL databases

Stream and batch processing and alerting engine for InfluxDB time series data

2.4k 475 7 days ago Thriving MIT

OpenTSDB

NoSQL databases

Time series database on HBase for storing large volumes of system metrics

5.1k 1.2k 2 years ago Dormant LGPL-2.1

HelixDB

NoSQL databases

Graph database with built-in vector and keyword search for AI app developers

6.3k 402 yesterday Thriving Apache-2.0

Dragonfly

NoSQL databases

Multi-threaded in-memory data store with Redis and Memcached APIs for high-throughput

32k 1.3k today Thriving BUSL-1.1

Replaces Redis

ssdb

NoSQL databases

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

8.3k 1.4k 5 years ago Dormant BSD-3-Clause

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