Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1746

Update EhCache configuration to use pooled resources for cache sizing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0-beta2
    • Java

    Description

      With EhCache 2.5.0 functionality was introduced to allow caches to be sized using bytes as an alternative to using the number of elements. One can also define the overall heap space that EhCache will use as well as what percentage of the overall cache's heap each named cache will use. See http://ehcache.org/documentation/configuration/cache-size#pooled-resources

      I would like to update Shindig to use this by default, as I think it should be the recommended method for configuring EhCache's use in Shindig out-of-the-box.

      As part of the deliverables for this JIRA, I will be updating and maintaining portions of the wiki: https://cwiki.apache.org/confluence/display/SHINDIG/Index#Index-CachinginShindig

      Attachments

        1. EhCache.patch
          16 kB
          Stanton Sievers

        Issue Links

          Activity

            People

              ssievers Stanton Sievers
              ssievers Stanton Sievers
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: