Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-636

Refactored pluggable, manageable cache handling

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.5 RC1
    • 2.1.3
    • None
    • None

    Description

      I've refactored the CacheHandler to use a pluggable implementation. One being the existing filesystem based one and another ehcache-based. It optionally keeps statistics about cache hits and misses is JMX manageable. It's also completely configurable using the existing cache config node in the repository. Cache thread usage is configurable using the util.concurrent Executors (one Thread for each request as it is now or a ThreadPool, or a single Thread, ...). The ehcache implementation has configurable memory and disk cache size and lifetime parameters and can use sophisticated expirations strategies like "first in first out" or "least recently used".

      The code is currently for Magnolia 2.1.3.

      What is the best way to get this integrated? And what is the interest?

      Checklists

        Acceptance criteria

        Attachments

          1. cache.patch
            63 kB
          2. cache.tar.gz
            12 kB
          3. config.server.cache.xml
            36 kB

          Activity

            People

              fgiust Fabrizio Giustina
              abrenk Andreas Brenk
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD