KeyDB is a high-performance fork of Redis focused on multithreading, memory efficiency, and throughput. It keeps Redis protocol, module, and script compatibility while adding active replication and optional FLASH storage.
Overview
KeyDB is an in-memory database server that speaks the Redis protocol. It targets higher throughput on the same hardware through multithreaded request handling and features such as active replication, FLASH-backed storage, subkey expiry, and an MVCC design that lets KEYS and SCAN run without blocking the whole database.
The server remains compatible with Redis modules, scripts, and atomic transaction guarantees while syncing upstream Redis changes. Active-active replication can let multiple masters accept reads and writes when configured. Optional FLASH storage places cold data on local SSD, and backups can target AWS S3 when CLI tools are configured.
Deployment is typical for Redis-style services: compile on Linux, run keydb-server with default or custom configuration, use keydb-cli for administration, install binaries via make install, or use the published Docker image. TLS builds are supported, and thread count tuning knobs balance latency against core usage.
Snap Inc maintains the project as open source infrastructure used in its own caching stack, with community channels on Slack and forums for support discussions.
Key features
- Redis protocol and module compatibility
- Multithreaded request serving
- Active-active replication option
- Non-blocking KEYS and SCAN via MVCC
- FLASH storage on local SSD
- Subkey expiration support
- TLS-enabled builds
- Docker image availability
Use cases
- Drop-in Redis caching layer
- High-throughput session stores
- Active-active failover pairs
- Large keyspaces with flash tiering
- TLS-secured cache clusters
Does the same job as
KeyDB doesn't name these products itself, but its own description shows it does the same job.