kvrocks

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.

What is kvrocks?

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.

Overview of kvrocks

What it is

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol. It is designed to decrease memory cost and increase capacity compared to Redis. The replication and storage design is inspired by rocksplicator and blackwidow.

Key features

  • Redis Compatible: Users can access Apache Kvrocks via any Redis client.
  • Namespace: Similar to Redis SELECT but equipped with token per namespace.
  • Replication: Async replication using binlog like MySQL.
  • High Availability: Support Redis sentinel to failover when master or slave fails.
  • Cluster: Centralized management but accessible via any Redis cluster client.

Use cases

Kvrocks is suitable for scenarios where a Redis-compatible interface is needed but with lower memory cost and larger storage capacity. It can be used as a drop-in replacement for Redis in applications that require key-value storage, caching, or session management, especially when data volume exceeds what Redis can economically store in memory.

Getting started

Build and run Kvrocks from source: shell $ git clone https://github.com/apache/kvrocks.git $ cd kvrocks $ ./x.py build $ ./build/kvrocks -c kvrocks.conf Or run using Docker: shell $ docker run -it -p 6666:6666 apache/kvrocks --bind 0.0.0.0 Connect with redis-cli: sh $ redis-cli -p 6666 127.0.0.1:6666> get a (nil)

License and pricing

Apache Kvrocks is licensed under the Apache License Version 2.0. It is open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/apachekvrocks.svg)](https://yunodb.com/tools/apachekvrocks?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/apachekvrocks?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/apachekvrocks.svg" alt="Featured on YunoDB" height="20"></a>