KeyDB

maintenance

by Snap Inc. · since 2019

Snap's multi-threaded Redis fork with active-active replication and FLASH storage, now dormant.

key-valuedatabase engineopen source (permissive)legacy

maintenance. No release since 6.3.4 (Oct 2023) and no commits since Apr 2024; no EOL announced. Valkey is the usual migration target.

Overview

KeyDB forked Redis in 2019 to add multi-threaded command processing, active-replica (multi-master) replication and a FLASH tier backed by RocksDB. Snap acquired it in 2022 and relicensed the formerly commercial features under BSD-3-Clause. Development has since stalled: the last release, 6.3.4, shipped in October 2023 and the main branch has had no commits since April 2024, so it lags years behind Redis 7.x and Valkey. Existing deployments keep working, but new projects should look at Valkey or Dragonfly instead.

Strengths & trade-offs

Strengths

  • +Multi-threaded execution gives more throughput per node than Redis 6
  • +Active-replica mode allows writes on multiple nodes
  • +FLASH storage tier can hold data beyond RAM
  • +Permissive BSD license with formerly enterprise features included

Trade-offs

  • −Effectively unmaintained: no releases since 2023 and no recent security fixes
  • −Missing Redis 7+ features such as functions and sharded pub/sub
  • −Multi-master conflict resolution is last-writer-wins
  • −Shrinking community and stale Docker images

Great for

  • +Existing deployments relying on active-replica replication
  • +Legacy Redis 6 workloads needing more throughput

Think twice for

  • −New projects (choose Valkey or Dragonfly)
  • −Environments needing timely CVE patches

Capabilities

Native or official first-party support · 8 of 25 tracked

✓Transactions
✓Geospatial
✓Stored procedures
✓TTL / expiry
✓Pub/Sub
✓In-memory
✓Durable persistence
✓Role-based access
–Joins
–Secondary indexes
–Full-text search
–Vector search
–JSON
–Change data capture
–Triggers
–Materialized views
–Columnar storage
–Compression
–Encryption at rest
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
Native
Multi-region
Active active
Transactions
Limited ACID
Consistency
Eventual
Schema
Schemaless
Architecture
In memory, Primary replica, Multi primary, Client server
Query languages
Redis commands (RESP), Lua

Supports Redis Cluster plus active-replica multi-master replication; FLASH tier extends capacity beyond RAM.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

compatible withRedis
apis & protocolsRESP2
client languagesPython, Java, JavaScript, Go, C#, Rust, Ruby, PHP, C
used bySnap

Alternatives to KeyDB

Compare all→
ValkeyKey-Value58.0

The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.

keydb vs valkey →
DragonflyKey-Value20.7

A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.

keydb vs dragonfly →
RedisKey-Value84.3

The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.

keydb vs redis →
Microsoft GarnetKey-Value7.8

Microsoft Research's .NET cache-store that speaks RESP and scales across cores and storage tiers.

keydb vs garnet →
UpstashKey-Value20.4

Serverless, per-request-priced Redis with an HTTP API built for edge and serverless functions.

keydb vs upstash →
MomentoKey-Value9.0

Managed Valkey and serverless cache/pub-sub from ex-DynamoDB engineers, plus self-hosted Valkey tooling.

keydb vs momento →

KeyDB FAQ

What is KeyDB?

KeyDB is a key-value database by Snap Inc., first released in 2019. KeyDB forked Redis in 2019 to add multi-threaded command processing, active-replica (multi-master) replication and a FLASH tier backed by RocksDB. Snap acquired it in 2022 and relicensed the formerly commercial features under BSD-3-Clause. Development has since stalled: the last release, 6.3.4, shipped in October 2023 and the main branch has had no commits since April 2024, so it lags years behind Redis 7.x and Valkey. Existing deployments keep working, but new projects should look at Valkey or Dragonfly instead.

Is KeyDB open source?

Yes. KeyDB is open source. License: BSD 3-Clause.

Does KeyDB support ACID transactions?

Partly. KeyDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with eventual consistency.

Does KeyDB scale horizontally?

KeyDB scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at medium scale (≤ 10 TB). It supports active-active multi-region writes.

How can I run KeyDB?

You can self-host it.

What is KeyDB best for?

KeyDB is a strong fit for existing deployments relying on active-replica replication and legacy Redis 6 workloads needing more throughput. Think twice for new projects (choose Valkey or Dragonfly).

What are the best alternatives to KeyDB?

Common alternatives to KeyDB include Valkey, Dragonfly, Redis, Microsoft Garnet and Upstash. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is KeyDB still maintained?

KeyDB is in maintenance mode. No release since 6.3.4 (Oct 2023) and no commits since Apr 2024; no EOL announced. Valkey is the usual migration target.

How popular is KeyDB?

KeyDB ranks #251 of 844 databases on the WhichDB Score (13.5/100), and #34 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.