Ehcache vs Varnish Enterprise
Ehcache
ehcache.orgVarnish Enterprise
varnish-software.comSide by side
| Figure | Ehcache | Varnish Enterprise |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | Yes |
| Open source | Yes | — |
| Linux | — | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 3 | 1 |
| Spec score · Caching Software | 8.5 (#4) | 7.1 (#18) |
| Purpose | Ehcache is an open-source, standards-based Java cache that boosts performance, offloads databases, and simplifies scalability. | Varnish Enterprise is a programmable delivery layer for live video, dynamic web and API traffic, and CI/CD artifact delivery. |
| Storage | Ehcache 3 supports off-heap storage, including caches that use only off-heap storage. | Its Massive Storage Engine supports multi-terabyte datasets across memory and disk. |
| Support | Ehcache documentation directs users with unanswered questions to its support forums. | The product page describes standard, 24/7, and fully managed service plans as expert support options. |
Plans
In their own words
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.
Varnish Enterprise
Varnish Enterprise has no write-up on Specifiction yet; its figures are above.