DiceDBValkey-based key-value store with query subscriptions
KeyDBMultithreaded Redis-protocol in-memory data store
DiceDB vs KeyDB
How DiceDB and KeyDB compare on popularity, activity, license and platforms: two open-source Databases projects, both alternatives to Amazon ElastiCache.
At a glance
- KeyDB has had no code changes for over 18 months; DiceDB is actively maintained.
- KeyDB has more GitHub stars (12.5k vs 10.8k).
- DiceDB was updated more recently (last commit 8 months ago, KeyDB 2 years ago).
- Both use the BSD-3-Clause license.
- Both can be self-hosted.
- KeyDB is the older project (repository started 2019; DiceDB in 2022).
Side by side
| DiceDB | KeyDB | |
|---|---|---|
| GitHub stars | ★ 10,778 +4 in 7 days | ★ 12,501 -2 in 9 days |
| Forks | 1,399 | 680 |
| Last commit | 8 months ago | 2 years ago |
| Latest version | 1.0.0 | v6.3.4 |
| Repository started | August 2022 | February 2019 |
| License | BSD-3-Clause · permissive | BSD-3-Clause · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Docker, CLI | Docker, CLI |
| Main language | C | C++ |
| Alternative to | Amazon ElastiCache | Amazon ElastiCache |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
DiceDB
DiceDB is a low-latency key-value engine built on Valkey, staying compatible with Redis and Valkey clients. It adds query subscriptions and tiered memory-to-disk storage.
Key features
- Redis and Valkey protocol compatibility
- OBSERVE query subscriptions
- Disk spill for evicted keys
- Official preconfigured Docker image
- Strings through sorted sets and HyperLogLog
- Configurable memory and spill limits
KeyDB
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.
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