Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

 

Rationale

 

The Magnolia cache module is based on EhCache, an open course Java distributed cache. We ship an ancient ehcache 1.5. This brings several drawbacks nowadays, among others performance, integration or scalability options. This page aims to evaluate possibilities of upgrading to the current 2.7 release. The task is logged as

Jira
serverMagnolia
keyMAGNOLIA-3535
. Ehcache is available under an Apache 2 license.

...

An element is an atomic entry in a cache. There seem to be no changes on the API field since 1.5. Object based elements are used.


BlockingCache

...

The cache module already provides its own support for terminating stale requests and let them timed out. Moving to what ehcache comes with is perhaps not necessary at this point.

 


Other notes

...

  • changed meaning of maxElementsInMemory=0 for MemoryStore to be unlimited.
  • extended existing in-memory and on-disk concepts to include off-heap as an additional possible location.

...


EhCache change log

...