KeyDB
keydb.dev
- Free plan
- macOS
- Linux
- Self-hosted
What KeyDB is
KeyDB is a free, open-source, in-memory database that can also work as a cache and message broker. It is designed as a Redis-compatible alternative, supporting the Redis API and protocol so Redis client libraries can be used. Supported data structures include strings, hashes, lists, sets, sorted sets, bitmaps, HyperLogLogs, geospatial indexes, and streams. KeyDB scales horizontally through active replication or cluster mode with a sharded dataset, and it offers high availability and automatic failover options. Asynchronous multi-master replication can operate across regions using last-write-wins handling. Its MVCC architecture allows snapshot queries such as SCAN and KEYS to run concurrently without blocking existing workloads. Persistence options include RDB snapshots and AOF command logging with configurable durability. Linux and macOS are developed and tested, while Linux is recommended for deployment; there is no official Windows build. Security includes TLS, authentication, and ACLs, but authentication is optional and paid support is unavailable.
Who it suits
KeyDB suits teams needing a Redis-compatible database, cache, or message broker on Linux or macOS. It can serve projects ranging from small deployments to workloads serving millions of users.
Good to know, and what to watch
- Free and open-source
- Redis API and client compatibility
- Active replication and cluster scaling
- RDB and AOF persistence options
- TLS, authentication, and ACL support
- No official Windows build
- Paid support is unavailable
- Authentication is optional by default
- SQL and vector search are not supported
The verdict
KeyDB provides Redis compatibility with replication, clustering, persistence, and multiple data structures. Deployment planning should account for Linux preference, optional authentication, and community-only support.
What the maker publishes
- Additional deployment options
- Community contributed options include Homebrew, a Kubernetes Helm chart, and an Arch Linux package. source
- Architecture
- Its MVCC architecture allows snapshot queries, including SCAN and KEYS, to run concurrently without blocking existing workloads. source
- Compatibility
- KeyDB is compatible with the Redis API and protocol, and Redis client libraries work with it. source
- Data structures
- KeyDB supports strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs, geospatial indexes, and streams. source
- Data structures
- KeyDB supports strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs, geospatial indexes, and streams. source
- Deployment
- Officially managed download options include Docker images, Ubuntu and Debian packages, CentOS RPM packages, and source builds. source
- Founded
- 2019 source
- History
- The project began in 2019 as a multithreaded Redis fork and found a permanent home at Snap at the end of 2021. source
- Integrations
- The maker lists Docker images, Ubuntu and Debian packages, CentOS RPM packages, and community Homebrew and Kubernetes Helm options. source
- Integrations
- Because KeyDB is Redis-compatible, the maker says Redis client libraries can also be used with KeyDB. source
- Intended users
- The maker describes KeyDB as useful from small projects to workloads serving millions of users. source
- Multi-master
- KeyDB supports asynchronous multi-master replication across regions using a last-write-wins method. source
- MVCC
- Its MVCC architecture lets concurrent queries use database snapshots without blocking calls such as SCAN and KEYS. source
- Operating systems
- The documentation says Linux and macOS are developed and tested, recommends Linux for deployment, and notes there is no official Windows build support. source
- Performance
- The maker says a single node can handle over 1 million operations per second and serve data with submillisecond latency. source
- Performance
- The maker says a single KeyDB node benchmarks at over 1 million operations per second and that its multithreaded design outperforms Redis per node. source
- Persistence
- KeyDB supports RDB snapshots and AOF command logging, with configurable durability preferences. source
- Persistence
- KeyDB supports configurable RDB snapshots and AOF disk logging for persistence. source
- Product
- KeyDB is a high-performance, open-source database and a drop-in alternative to Redis. source
- Purpose
- KeyDB is an open source, in-memory database used as a database, cache, and message broker. source
- Redis compatibility
- KeyDB is compatible with the Redis API and protocol, and Redis clients work with KeyDB. source
- Replication
- KeyDB supports asynchronous multi-master replication across regions using a last-write-wins method. source
- Scaling
- KeyDB supports horizontal scaling through active replication or cluster mode with a sharded dataset. source
- Scaling and availability
- KeyDB supports horizontal scaling through active replication or cluster mode, with high availability and automatic failover options. source
Checked against the maker's pages on 3 Oct 2026.