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

Implement mixin mgnl:hasVersion to avoid excessive access to the version store

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: core
    • Labels:
      None
    • Sprint:
      Kromeriz 65
    • Story Points:
      2
    • Magnolia Release:
      5.5

      Description

      Each click on an elements in content apps leads to requests to the version store. This can be expensive especially for big installations. I have not tracked it down but my guess would be that it is a availability test for an action which checks wether the node has versions or not.

      To verify this one can enable derby logging like described here: http://magnolia-experts.com/monitoring-queries-to-the-derby-database/

      Attention: jackrabbit caches nodes in memory (16MB bei default) so with a small installation like the demo project the queries will be only executed during the first access and not by follow up browsing.

      EDIT:
      https://wiki.magnolia-cms.com/display/DEV/Concept+-+New+mixin+to+avoid+excessive+access+to+the+version+store+while+browsing+content

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsimak Jaroslav Simak
                Reporter:
                pbaerfuss Philipp Bärfuss
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: