KeyDB logo

KeyDB

Multithreaded Redis fork with full Redis protocol, module, and script compatibility

Open Source Alternative to
Repository activity
  • Stars12.5k
  • Forks662
  • Open Issues270
License

BSD-3-Clause

Languages
  • C++
  • C
  • Tcl
KeyDB screenshot

About KeyDB

KeyDB is a high performance fork of Redis focused on multithreading, memory efficiency, and high throughput. It keeps full compatibility with the Redis protocol, modules, and scripts, including atomicity guarantees for scripts and transactions, so existing Redis deployments can use it as a drop-in replacement.

KeyDB adds Active Replication, FLASH Storage, and Subkey Expires. Its MVCC architecture lets KEYS and SCAN run without blocking the database and degrading performance. Active Replication supports hot-spare failover, distributing writes over replicas, and TCP based load balancing and failover.

KeyDB is maintained by the KeyDB team as part of Snap Inc. and is used by Snap as part of its caching infrastructure. It is fully open sourced under BSD-3, with no separate commercial product and no paid support options. KeyDB can be compiled and is tested for use on Linux, and a Docker image is available.

Key features

  • Multithreaded Redis-compatible server
  • Full Redis protocol, module, and script compatibility
  • Active Replication for hot-spare failover
  • MVCC architecture for non-blocking KEYS and SCAN
  • FLASH Storage and Subkey Expires

Details

First released
2019
Compatibility
Redis protocol · modules · scripts
Platforms
Linux · Docker
Replication
Active Replication
Storage
FLASH Storage experimental
Governance
Maintained by Snap Inc.