DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Ehcache vs. Redis vs. TiDB

System Properties Comparison Ehcache vs. Redis vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonRedis  Xexclude from comparisonTiDB  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.TiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelKey-value storeKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceRelational DBMS
Secondary database modelsDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.47
Rank#66  Overall
#9  Key-value stores
Score179.02
Rank#6  Overall
#1  Key-value stores
Score3.54
Rank#93  Overall
#49  Relational DBMS
Websitewww.ehcache.orgredis.com
redis.io
pingcap.com
Technical documentationwww.ehcache.org/­documentationdocs.redis.com/­latest/­index.html
redis.io/­documentation
docs.pingcap.com/­tidb/­stable
Social network pagesLinkedInTwitterFacebookYouTubeDiscord
DeveloperTerracotta Inc, owned by Software AGRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.PingCAP, Inc.
Initial release200920092016
Current release3.9.6, September 20217.0.0, April 20225.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoApache 2.0
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.
  • Redis Enterprise Cloud: Instantly scale and pay only for the resources you need - on any cloud - AWS, Azure or Google Cloud.
  • 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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaCGo, Rust
Server operating systemsAll OS with a Java VMBSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
Data schemeschema-freeschema-freeyes
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 indexesyes
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 moduleyes
SQL infoSupport of SQLnonoyes
APIs and other access methodsJCacheproprietary protocol infoRESP - REdis Serialization ProtocolJDBC
ODBC
Proprietary protocol
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
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoLua; Redis Functions coming in Redis 7 (slides and Github)no
Triggersyes infoCache Event Listenerspublish/subscribe channels provide some trigger functionality; RedisGearsno
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 shardinghorizontal partitioning (by key range)
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
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnothrough RedisGearsyes infowith TiSpark Connector
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
Immediate Consistency
Foreign keys infoReferential integritynonono infocurrently only supported in syntax
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 lockingACID
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.yesyesno
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
Users with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
EhcacheRedisTiDB
Specific characteristicsThe Redis real-time data platform builds upon the unmatched simplicity and speed...
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesRedis Enterprise is a robust in-memory database platform built by the people who...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosRedis Enterprise is used by large enterprise, startup, and government organizations...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersVerizon, Vodafone, Atlassian, Trip Advisor, Jet.com, Nokia, Samsung, HTC, Docker,...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metricsMost launched Docker container per day according to Docker Hub (7.2M launches per...
» more
25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsRedis Enterprise Cloud lets users scale up and down instantly, and pay only for the...
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB Operator Source Code Reading (V): Backup and Restore
14 December 2021

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development
9 December 2021

TiDB 5.3: Delivering Enhancements for Data Intensive Applications
7 December 2021

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 2021

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 partiesRead the Redis NoSQL benchmark report.
» 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
EhcacheRedisTiDB
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

Jira Data Center user? Here's a critical Ehcache vulnerability to spoil your day
22 July 2021, The Register

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

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

Setting Up Distributed Infinispan Cache with Hibernate and Spring
26 May 2016, DZone

provided by Google News

How to Install Redis on Ubuntu 22.04 LTS Jammy
19 May 2022, Linux Shout

Cisco Patches Serious Flaw in IOS | Decipher
24 May 2022, Duo Security

Best Database Management System Software 2022
25 May 2022, CIO Insight

Security Researchers Find Nearly 400,000 Exposed Databases | eSecurityPlanet
3 May 2022, eSecurity Planet

SQL Cloud Database and Dbaas Market Growth Strategies With Leading Players: IBM, Oracle, Alibaba Cloud., SAP, MongoDB,
27 May 2022, Digital Journal

provided by Google News

PingCap brings TiDB distributed SQL HTAP database to cloud
11 May 2022, TechTarget

Takuya Hirano Joins PingCAP as an Executive Advisor
19 May 2022, PR Newswire

PingCAP Enhances Support for Data Intensive Applications with TiDB 5.3
7 December 2021, PR Newswire

PingCap TiDB 5.3 Supports Both High Volume Transaction Processing and Real-Time Analytics
4 January 2022, Database Trends and Applications

PingCAP Introduces its New Developer Tier to Boost Application Innovation with TiDB Cloud
9 November 2021, PR Newswire

provided by Google News

Job opportunities

Jr. Backend Engineer
Viant, Irvine, CA

Sr. Software Developer
Pioneer Consulting Services, West Des Moines, IA

Java Software Engineer
Sabre, Southlake, TX

Java Fullstack Developer-DQL
HCL, Orlando, FL

Software Engineering
JPMorgan Chase Bank, N.A., Chicago, IL

Database Administrator - US Tech Service
TikTok, Seattle, WA

Database Administrator - US Tech Service
TikTok, Mountain View, CA

Staff Database Engineer (Relocation Available)
Visa, Austin, TX

Database Administrator - US Tech Service
TikTok, Los Angeles, CA

Sr. Database Developer (PostgreSQL) REMOTE
RealPage, Richardson, TX

Engineering Manager - Lending, Cash App
Cash App, New York, NY

Sales Account Executive- Remote
PingCAP, Remote

Senior Manager of Digital Marketing and Demand Generation
PingCAP, Remote

Software Engineer - Availability, Cash App
Cash App, New York, NY

Software Engineer - Cash Cards
Cash App, New York, NY

jobs by Indeed



Share this page

Featured Products

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Redis logo

The world’s most loved real‑time data platform.
Try free

Present your product here