DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Ehcache vs. Redis vs. Riak KV

System Properties Comparison Ehcache vs. Redis vs. Riak KV

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonRedis  Xexclude from comparisonRiak KV  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsPopular 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.Distributed, fault tolerant key-value store
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 infowith links between data sets and object tags for the creation of secondary indexes
Secondary database modelsDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.54
Rank#64  Overall
#8  Key-value stores
Score175.31
Rank#6  Overall
#1  Key-value stores
Score6.52
Rank#65  Overall
#9  Key-value stores
Websitewww.ehcache.orgredis.com
redis.io
riak.com/­products/­riak-kv
Technical documentationwww.ehcache.org/­documentationdocs.redis.com/­latest/­index.html
redis.io/­documentation
Social network pagesLinkedInTwitterFacebookYouTubeDiscord
DeveloperTerracotta Inc, owned by Software AGRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Basho Technologies
Initial release200920092009
Current release3.9.6, September 20217.0.0, April 20222.1.0, April 2015
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoApache version 2, commercial enterprise edition
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.
  • ScaleGrid for Redis: Fully managed hosting for Redis on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • Aiven for Redis: Fully managed in-memory key-value store, for all your caching and speedy lookup needs.
  • Redis Enterprise Cloud: Instantly scale and pay only for the resources you need - on any cloud - AWS, Azure or Google Cloud.
Implementation languageJavaCErlang
Server operating systemsAll OS with a Java VMBSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
OS X
Data schemeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyespartial 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 indexesnoyes infowith RediSearch modulerestricted
SQL infoSupport of SQLnonono
APIs and other access methodsJCacheproprietary protocol infoRESP - REdis Serialization ProtocolHTTP API
Native Erlang Interface
Supported programming languagesJavaC
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 infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresnoLua; Redis Functions coming in Redis 7 (slides and Github)JavaScript and Erlang
Triggersyes infoCache Event Listenerspublish/subscribe channels provide some trigger functionality; RedisGearsyes infopre-commit hooks and post-commit hooks
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingSharding infono "single point of failure"
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
selectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnothrough RedisGearsyes
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Eventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Eventual Consistency
Foreign keys infoReferential integritynonono infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourceAtomic execution of command blocks and scripts and optimistic lockingno
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyes 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.yesyes
User concepts infoAccess controlnoAccess Control Lists (ACLs): redis.io/­topics/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­topics/­encryption
Password-based authentication
no
More information provided by the system vendor
EhcacheRedisRiak KV
Specific characteristicsThe Redis real-time data platform builds upon the unmatched simplicity and speed...
» more
Competitive advantagesRedis Enterprise is a robust in-memory database platform built by the people who...
» more
Typical application scenariosRedis Enterprise is used by large enterprise, startup, and government organizations...
» more
Key customersVerizon, Vodafone, Atlassian, Trip Advisor, Jet.com, Nokia, Samsung, HTC, Docker,...
» more
Market metricsMost launched Docker container per day according to Docker Hub (7.2M launches per...
» more
Licensing and pricing modelsRedis Enterprise Cloud lets users scale up and down instantly, and pay only for the...
» more

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Aiven for Redis: Store and access your data quickly and efficiently.
» more

Read the Redis NoSQL benchmark report.
» more

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

More resources
EhcacheRedisRiak KV
DB-Engines blog posts