Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9897

Increase the size of the security cache to improve performance

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4-milestone-1
    • Fix Version/s: 5.4-rc-1
    • Component/s: Security
    • Labels:
      None
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Similar issues:

      Description

      This value could be adjusted in infinispan configuration, but most user don't take care and the current size is really small, only adapted for a small single wiki.

      Since increasing the number of entries from 500 to 10k will have a memory footprint estimated to only a few megabytes at most, and eviction of security entries could quickly decrease the performance of the security cache (removal operations are costly in terms of locks), I am increasing the default size of the security cache to 10k entries.

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: