# Snapchat/KeyDB

A Multithreaded Fork of Redis

Repository: https://github.com/Snapchat/KeyDB
Canonical: https://ross.abutalabs.com/products/keydb
Homepage: https://keydb.dev
Language: C++
License: BSD-3-Clause
License Family: permissive
Last push: 2024-05-29T08:55:22+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2770, "days_push": 826, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12509, forks 675 (observed 2026-08-28T04:10:59.252772+00:00)

## What it is
KeyDB is a multithreaded, high-performance fork of Redis that is fully protocol-compatible and acts as a drop-in replacement for Redis deployments. It adds features like Active Replication, FLASH storage backed by RocksDB, subkey expires, and MVCC for non-blocking queries while achieving higher throughput on the same hardware.

## Use cases
- replace redis with a faster drop-in alternative
- run a multithreaded in-memory key-value store
- scale redis workloads without sharding
- set up active-active replication for a redis-compatible cache
- store more data than fits in RAM with flash storage
- run a high-throughput cache over a million ops per second
- migrate an existing redis deployment with no client changes

## When to choose
- you need higher per-node throughput than Redis on the same hardware
- you want a Redis-compatible database with built-in active replication and multi-master writes
- your dataset exceeds RAM and you want FLASH-backed storage
- you want KEYS/SCAN queries that don't block the database thanks to MVCC

## When to avoid
- you need the newest Redis features or commands, since KeyDB development has slowed
- you rely on a large ecosystem of Redis modules or vendor-managed Redis services
- you prefer a single-threaded model with simpler operational reasoning
- you need long-term commercial support, which is not offered

## Facets
- artifact type: service
- maturity: maintenance
- function: database, caching, http-server
- domain: databases, backend, developer-tools, performance
- platform: self-hosted, cpp, cross-platform
- tags: redis-compatible, in-memory-database, multithreaded, key-value-store, active-replication, mvcc, flash-storage, drop-in-replacement, linux, docker

## Member repositories
- Snapchat/KeyDB (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:59.252772+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:59.669114+00:00, confidence not recorded.
  - readme: https://github.com/Snapchat/KeyDB (fetched 2026-08-28T04:10:59.252772+00:00, sha cdaf5ebaa28c)
  - homepage: https://keydb.dev (fetched 2026-08-29T08:10:51.096511+00:00, sha bc14b931056b)
  - site_page: https://docs.keydb.dev/docs (fetched 2026-08-29T08:10:51.105860+00:00, sha 906c48f9af75)
  - site_page: https://docs.keydb.dev/docs/commands (fetched 2026-08-29T08:10:51.108230+00:00, sha 3099f056e5b7)
  - site_page: https://docs.keydb.dev/docs/download (fetched 2026-08-29T08:10:51.114845+00:00, sha 97a7bba2f7d0)
  - site_page: https://docs.keydb.dev/docs/about (fetched 2026-08-29T08:10:51.116720+00:00, sha ab3d793496e7)
  - site_page: https://docs.keydb.dev/docs/support (fetched 2026-08-29T08:10:51.118774+00:00, sha 2178e9cf17c1)
  - site_page: https://docs.keydb.dev/docs/mvcc (fetched 2026-08-29T08:10:51.120570+00:00, sha f63f3f438068)
  - site_page: https://docs.keydb.dev/docs/coming-soon (fetched 2026-08-29T08:10:51.122351+00:00, sha af5b7983f539)
- Data as of 2026-08-30T08:39:29.467469+00:00.
