Ehcache, it's as easy as...

What Is Ehcache

Ehcache is an open source, standards-based cache used to boost performance, offload the database and simplify scalability. Ehcache is robust, proven and full-featured and this has made it the most widely-used Java-based cache.

It can scale from in-process with one or more nodes through to a mixed in-process/out-of-process configuration with terabyte-sized caches. For applications needing a coherent distributed cache, Ehcache uses the open source Terracotta Sever Array.

Ehcache is actively developed, maintained and supported as a professional open source project by Terracotta, Inc. and is available under an Apache 2 license. In addition to the full-featured open source Ehcache edition, Terracotta offers enterprise editions of Ehcache with 24x7 Professional Support, Consulting, and Training services worldwide.

BigMemory for Ehcache

Use More Memory Without GC Pauses

Create very large, in-memory caches without having Java garbage collection trash your app’s performance. BigMemory extends the capabilities of Ehcache, providing an off-heap store that frees you from GC’s memory and performance constraints—as well as endless GC tuning. With BigMemory, you can take full advantage of all of the memory on your machine to increase application throughput and achieve consistently low latencies.

BigMemory is a configurable storage option for Ehcache and works everywhere Ehcache works. Upgrading to Enterprise Ehcache with BigMemory is an easy, non-disruptive process that amplifies the speed and scalability benefits of caching.

Find out more about BigMemory for Enterprise Ehcache and download a free 30-day trial at terracotta.org/bigmemory ›

Ehcache Search

Query, Search and Analyze In-Memory Data

Ehcache Search is an addition to the core Ehcache API that lets you query, search and analyze billions of cache entries in memory, with results to complex searches returned in less than a second. By querying the cache directly, you can avoid the time-consuming and expensive process of querying the database, then mapping query results to cache lookups.

Download the latest version of Ehcache with Search ›
View Ehcache Search documentation ›

Latest News

15 November 2011: Ehcache 2.5 Released

The major new capability of Ehcache 2.5 is enhanced cache resource management, specifically the ability to set the maximum size in bytes of a Cache or CacheManager. This offers the following additional benefits to Ehcache users:

  • Ease of use. Tuning cache sizes is now as simple as setting the maximum number of bytes. No more setting maximum entry counts and juggling eviction parameters to approximate the maximum amount of system memory your cache can use.
  • Greater efficiency. Ehcache now efficiently manages caches based on their memory footprint and can dynamically balance their resource use based on runtime size information.

Download ›

27 September 2011: Terracotta’s Latest BigMemory Release with ARC Maxes Out the Biggest Servers on the Market

With terabyte servers now available from Dell, HP, Oracle and IBM, a single Java application using BigMemory can easily access 10s of terabytes of in-memory data at microsecond speed.

Learn more ›

8 July 2011: Ehcache 2.4.3 Released

Ehcache 2.4.3 adds support for Terracotta 3.5.2 and includes some minor bug fixes. Terracotta 3.5.2 contains significant bug fixes.

Blogs & Tweets

Ehcache 2.5