talira

Apache Kvrocks

A distributed key value NoSQL database compatible with the Redis protocol

open sourceApache-2.0self-hostablefree

Apache Kvrocks is a distributed key-value NoSQL database that stores data on disk in RocksDB and speaks the Redis protocol, so redis-cli and Redis clients work with it. It adds namespaces (like Redis SELECT, with a token for each), asynchronous binlog replication, failover through Redis Sentinel, and a centrally managed cluster that any Redis Cluster client can reach, plus search, backups and a metrics exporter. It's an Apache Software Foundation project, run from Docker or built from source on Linux and macOS. It is an alternative to Valkey and Dragonfly.

Problems it solves

  • store more Redis data than fits in RAM without paying for huge memory servers
  • keep using our Redis clients and commands but persist everything to disk
  • a Redis-compatible database under the Apache licence that an open source foundation governs
  • give each tenant its own isolated keyspace with its own password on one Redis-compatible server

Features

  • Redis protocol compatible
  • RocksDB storage on disk
  • namespaces with a token each
  • asynchronous binlog replication
  • high availability through Redis Sentinel
  • cluster mode reachable from any Redis Cluster client
  • search
  • backups
  • metrics exporter
  • kvrocks2redis migration tool

Alternatives

The same job

These do what Apache Kvrocks does.

  1. Valkey An open source (BSD) high-performance key/value datastore
  2. Dragonfly The world's most efficient in-memory data store
  3. Redis The preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine
  4. Garnet Microsoft Research's Redis-compatible cache-store, built on .NET

Compare Apache Kvrocks with the top 3