Automatic Resource Control

The major new capability of Ehcache 2.5 is Automatic Resource Control (ARC), 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.

Terracotta 3.6 also includes BigMemory enhancements. Most notably it adds support for BigMemory in the L1 tier (which can be used in conjunction with L2 tier BigMemory) in clustered configurations. This helps provide significant performance improvements especially in large data set read-mostly use cases.

Screenshot
  of the ARC cache sizing panel

ARC Sizing Panel