DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Ehcache vs. MySQL vs. Redis

System Properties Comparison Ehcache vs. MySQL vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonMySQL  Xexclude from comparisonRedis  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsWidely used open source RDBMSIn-memory data structure store, used as database, cache and message broker infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.
Primary database modelKey-value storeRelational DBMS infoKey/Value like access via memcached APIKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence
Secondary database modelsDocument storeDocument store infowith Redis Modules
Graph DBMS infowith Redis Modules
Search engine infowith Redis Modules
Time Series DBMS infowith Redis Modules
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.51
Rank#57  Overall
#8  Key-value stores
Score1268.51
Rank#2  Overall
#2  Relational DBMS
Score150.05
Rank#8  Overall
#1  Key-value stores
Websitewww.ehcache.orgwww.mysql.comredis.io
Technical documentationwww.ehcache.org/­documentationdev.mysql.com/­docredis.io/­documentation
DeveloperTerracotta Inc, owned by Software AGOracle infosince 2010, originally MySQL AB, then SunSalvatore Sanfilippo infoDevelopment sponsored by Redis Labs
Initial release200919952009
Current release3.8.0, July 20198.0.20, 20206.0.5, June 2020
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSD 3-Clause, commercial license available
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 MySQL: Fully managed MySQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • Azure Database for MySQL: A fully managed, scalable MySQL relational database with high availability and security built in at no extra cost
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.
Implementation languageJavaC and C++C
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexes
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.noyesno
Secondary indexesnoyesyes infowith RediSearch module
SQL infoSupport of SQLnoyes infowith proprietary extensionsno
APIs and other access methodsJCacheADO.NET
JDBC
ODBC
Proprietary native API
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesJavaAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
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
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxLua
Triggersyes infoCache Event Listenersyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta Serverhorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerMaster-master replication
Master-slave replication
Master-slave replication infoChained replication is supported
Multi-master replication infowith Redis Enterprise Pack
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Immediate ConsistencyEventual Consistency
Strong eventual consistency with CRDTs
Foreign keys infoReferential integritynoyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourceACID infonot for MyISAM storage engineOptimistic locking, atomic execution of commands blocks and scripts
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes infoData access is serialized by the server
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logs
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes
User concepts infoAccess controlnoUsers with fine-grained authorization concept infono user groups or rolesSimple password-based access control infoAccess control lists and SSL are available in the commercial version

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
3rd partiesGeneral SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Datadog: Improve MySQL performance by visualizing and identifying errors fast using granular, out-of-the-box dashboards.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Azure Database for MySQL provides fully managed, enterprise-ready community MySQL database as a service
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

ScaleGrid: Fully managed MySQL-as-a-Service.
» more
Datadog: Monitor all Redis metrics: hit rates, clients, commands per second, and more.
» more

ScaleGrid: Fully managed Redis-as-a-Service in the cloud.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
EhcacheMySQLRedis
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

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

Ehcache 3.0 Released with Revamped API and Off-Heap Storage
2 May 2016, InfoQ.com

Memcached surpasses EhCache and Coherence in Java Job Demand
13 September 2011, InfoQ.com

Open source Java caching vendors merge
20 August 2009, InfoWorld

How to Create a Spring Boot App With Caching Enabled
1 February 2017, DZone News

Hazelcast open source in-memory data grid secures $21.5 million funding, expands platform to real-time streaming...
20 June 2019, ZDNet

provided by Google News

MySQL drops master-slave and blacklist-whitelist terminology
6 July 2020, ZDNet

ScaleGrid DigitalOcean Support for MySQL, PostgreSQL and Redis™ Now Available
9 June 2020, PRNewswire

ScaleGrid now supports MySQL, PostgreSQL and Redis solutions on DigitalOcean
10 June 2020, Help Net Security

AWS RDS on Outposts goes GA
6 July 2020, ZDNet

An example hibernate.cfg.xml for MySQL 8 and Hibernate 5
27 May 2020, TheServerSide.com

provided by Google News

Redis database creator Sanfilippo: Why I'm stepping down from the open-source project
2 July 2020, ZDNet

Redis 6: A high-speed database, cache, and message broker
21 June 2020, IDG Connect

Redis Labs Unveils New Open Source Project, RedisRaft
24 June 2020, Database Trends and Applications

ScaleGrid DigitalOcean Support for MySQL, PostgreSQL and Redis™ Now Available
9 June 2020, PRNewswire

RedisRaft brings strong data consistency to Redis clusters
23 June 2020, InfoWorld

provided by Google News

Job opportunities

Java Developers
Nithya Information Systems, Ann Arbor, MI

Systems Specialist
otisitinc, Greenville, DE

Expert Programmer Analyst
Pacific Gas And Electric Company, San Ramon, CA

Software Engineer
GlobalTechApps, Greenville, DE

Application Developer
ADP, Tempe, AZ

Entry Level Data Analyst
Hopjump, Boston, MA

Loss Prevention Specialist
Amazon.com Services LLC, Kernersville, NC

Jr. Web Developer
Rabb Consulting, Remote

PHP/MySQL Developers
Webmasters.com, Tampa, FL

Linux Administrator
HOSTCOPPER, Remote

PostgreSQL Database Admin
AWeber, Philadelphia, PA

Database Architect/Developer
Alderson Loop, Sparks, MD

Staff Software Engineer - Core Services
Lob, California

Software Engineer, Performance (Bellevue, WA) (Remote Eligible)
Okta, Bellevue, WA

Software Developer
Ria Financial, Buena Park, CA

jobs by Indeed




Share this page

Featured Products

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here