Skip to content
SPECIFICTION
Get listed

Amazon ElastiCache vs Ehcache

Amazon ElastiCache

aws.amazon.com

Ehcache

ehcache.org

Side by side

FigureAmazon ElastiCacheEhcache
Price from$0.09/moFree
Free planYesYes
Free trial——
Open source—Yes
WebYes—
WindowsYes—
macOSYes—
LinuxYes—
APIYesYes
Self-hosted—Yes
Plans published63
Spec score · Caching Software9.4 (#1)8.5 (#4)
PurposeAmazon ElastiCache is a fully managed caching service compatible with Valkey, Memcached, and Redis OSS that delivers microsecond latency performance.Ehcache is an open-source, standards-based Java cache that boosts performance, offloads databases, and simplifies scalability.
Rating on TrustRadius8.9 out of 10 from 17 reviews0 out of 10 from 0 reviews
What it doesAmazon ElastiCache is a managed cloud service for deploying, operating, and scaling distributed in-memory caches and data stores.Ehcache is a Java cache intended to improve application speed, reduce database load and support scalable deployments.

Plans

Amazon ElastiCache

  • AWS Free TierFree
  • Backup storage$0.09 a month
  • ElastiCache Serverless$6 a month
  • ElastiCache Serverless$6 a month
  • Database Savings PlansPrice not published
  • On-demand nodesPrice not published

Amazon ElastiCache pricing →

Ehcache

  • EhcacheFree
  • Ehcache open-sourceFree
  • Enterprise EhcachePriced on request

Ehcache pricing →

In their own words

Amazon ElastiCache

Amazon ElastiCache is a managed caching service compatible with Valkey, Memcached, and Redis OSS, with performance described as microsecond latency. Customers can deploy a serverless cache or a node-based cluster. ElastiCache Serverless monitors compute, memory, and network use and scales vertically and horizontally as demand changes. It replicates data across multiple Availability Zones and offers a 99.99% availability SLA for each cache. Listed uses include application and semantic caching, data and session stores, and leaderboards. It can act as a front-end cache for Amazon RDS, Aurora, DocumentDB, and DynamoDB, and improve performance with EC2 and EMR. Security options include encryption in transit and at rest, IAM authentication, Valkey or Redis OSS AUTH, and role-based access control. CloudWatch provides more than 40 operational metrics at no additional charge. Valkey serverless pricing starts at $6 a month, billed according to stored data in GB-hours and requests measured in ECPUs. Data tiering is unavailable with ElastiCache Serverless.

Visit aws.amazon.com

Ehcache

Ehcache is a free, open-source Java caching library for keeping application data, database results, and web pages available to applications. It is designed to improve performance, reduce database work, and support scaling. It can run inside an application or in mixed in-process and out-of-process deployments, including terabyte-sized caches. Ehcache 3 supports off-heap storage, including configurations that rely on it exclusively, and is compatible with the JCache API defined by JSR-107. The project describes Spring Caching and Hibernate integration through javax.cache support. Configuration is available through XML or the Java API, and data can be shared between application instances using Terracotta clustered storage. Ehcache 3.11 also allows caches to share resources. It supports JTA-managed XA transactions, including two-phase commit and crash recovery, but documents Read-Committed as the only supported isolation level and Bitronix 2.1.4 as the only tested transaction manager. Ehcache 3.11 requires Java 8 or later and is the last release line to support Java 8. The license is Apache 2.0.

Visit ehcache.org