DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > KeyDB vs. Redis vs. RocksDB

System Properties Comparison KeyDB vs. Redis vs. RocksDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameKeyDB  Xexclude from comparisonRedis  Xexclude from comparisonRocksDB  Xexclude from comparison
DescriptionAn ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsPopular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.Embeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database modelKey-value storeKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceKey-value store
Secondary database modelsDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.67
Rank#223  Overall
#32  Key-value stores
Score154.11
Rank#7  Overall
#1  Key-value stores
Score3.14
Rank#80  Overall
#11  Key-value stores
Websitegithub.com/­Snapchat/­KeyDB
keydb.dev
redis.com
redis.io
rocksdb.org
Technical documentationdocs.keydb.devdocs.redis.com/­latest/­index.html
redis.io/­docs
github.com/­facebook/­rocksdb/­wiki
DeveloperEQ Alpha Technology Ltd.Redis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Facebook, Inc.
Initial release201920092013
Current release7.2.5, May 20249.4.0, June 2024
License infoCommercial or Open SourceOpen Source infoBSD-3Open Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC++CC++
Server operating systemsLinuxBSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
Data schemeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or datepartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesno
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonono
Secondary indexesyes infoby using the Redis Search moduleyes infowith RediSearch moduleno
SQL infoSupport of SQLnowith RediSQL moduleno
APIs and other access methodsProprietary protocol infoRESP - REdis Serialization Protocoproprietary protocol infoRESP - REdis Serialization ProtocolC++ API
Java API
Supported programming languagesC
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
C
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresLuaLua; Redis Functions coming in Redis 7 (slides and Github)no
Triggersnopublish/subscribe channels provide some trigger functionality; RedisGears
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardinghorizontal partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
Multi-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnothrough RedisGearsno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Strong eventual consistency with CRDTs
Eventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integritynonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataOptimistic locking, atomic execution of commands blocks and scriptsAtomic execution of command blocks and scripts and optimistic lockingyes
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes
User concepts infoAccess controlsimple password-based access control and ACLAccess Control Lists (ACLs): redis.io/­docs/­management/­security/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­docs/­management/­security/­encryption
Password-based authentication
no

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
KeyDBRedisRocksDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Snap snaps up database developer KeyDB to make its infrastructure more snappy
12 May 2022, TechCrunch

Valkey Emerges as Leading Open Source Alternative to Redis After Relicensing Row
12 September 2024, Business Wire

Flight to Valkey appears to be response to removal of Redis’ open source license
12 September 2024, techzine.eu

Introducing Garnet – an open-source, next-generation, faster cache-store for accelerating applications and services
18 March 2024, Microsoft

Microsoft open-sources unique “Garnet” cache-store; a Redis rival?
19 March 2024, The Stack

provided by Google News

Vector search is the new black for enterprise databases
24 April 2025, theregister.com

Redis and UiPath Build on Existing Collaboration to Deliver
24 April 2025, GlobeNewswire

DigitalOcean Unveils Next-Gen Redis 7.2 Managed Caching: Automated Failover, RDMA Support
24 April 2025, Stock Titan

Integrate your Spring Boot application with Amazon ElastiCache
16 April 2025, Amazon Web Services (AWS)

Redis Vector Sets and LangCache speed GenAI models
11 April 2025, Blocks and Files

provided by Google News

KIOXIA Demonstrates Flexible Data Placement-Enabled SSD Running RocksDB at 2024 OCP Global Summit
14 October 2024, 01net

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Facebook’s MyRocks Truly Rocks!
21 September 2020, Open Source For You

KIOXIA SSD 'Flexible Data Placement' tech is a game changer for generative AI and the cloud
14 October 2024, TweakTown

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Present your product here