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

The pre filtering still access the document cache for some user informations

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The user filters preferences are cached in a dedicated cache, but we can see that for other informations the document cache is still assessed for the following events. This can make the document cache unusable if the number of users is greater than the document cache itself (because it will constantly fill it and invalidate any other document which constantly have to be reloaded from the database).

      The workaround is to make sure the document cache is at least the number of active users plus some number estimated to be the most active documents. In general for all caches it's a good practice to use a tool like Glowroot or https://extensions.xwiki.org/xwiki/bin/view/Extension/Admin%20Tools%20Application to access cache statistics and see if it's used properly or for example modified too often to ideally those when there is enough allocated RAM.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: