Amazon ElastiCache vs Ehcache
Amazon ElastiCache
aws.amazon.comEhcache
ehcache.orgSide by side
| Figure | Amazon ElastiCache | Ehcache |
|---|---|---|
| Price from | $0.09/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 6 | 3 |
| Spec score · Caching Software | 9.4 (#1) | 8.5 (#4) |
| Purpose | Amazon 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 TrustRadius | 8.9 out of 10 from 17 reviews | 0 out of 10 from 0 reviews |
| What it does | Amazon 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
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.
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.