Skip to content
SPECIFICTION
Get listed

Ehcache vs Google Guava Cache

Ehcache

ehcache.org

Google Guava Cache

github.com

Side by side

FigureEhcacheGoogle Guava Cache
Price fromFree—
Free planYes—
Free trial——
Open sourceYes—
Windows—Yes
Linux—Yes
Android—Yes
APIYes—
Self-hostedYes—
Plans published30
Spec score · Caching Software8.5 (#4)5.8 (#23)

Plans

Ehcache

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

Ehcache pricing →

Google Guava Cache

No plans published.

Google Guava Cache pricing →

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.

Visit ehcache.org

Google Guava Cache

Google Guava Cache has no write-up on Specifiction yet; its figures are above.

Visit github.com