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

Increase the size of the security cache to improve performance

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.4-rc-1
    • 5.4-milestone-1
    • Security
    • None
    • Trivial
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: