Uploaded image for project: 'Admincentral'
  1. Admincentral
  2. ADMINCTR-386

Findbar iterates over all nodes in the pages/assets app on presenting the ui

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 6.2.29
    • 6.2.28
    • None
    • Yes
    • Yes
    • 2
    • Yes

      I am investigating performance issues on our migration to Magnolia 6.

      When I first deployed it on our test server when I logged in de ui would be very slow and not show the results from the pages and dam app in the first screen.

      Trying to open the pages app would take a very long time as well (probably related to the initial query on the website still running). Investigation showed that JcrSearchResultSupplier would query for all nodes in the websites repository using an empty wildcard like ('%%'). On our website repository with more then 100.000 pages this does not perform. It does this as well on the dam repository which has even more nodes than that. Those queries use a lot of memory as Jackrabbit traverses both indexes fully, which causes a lot of GC load.

      As a workaround I created a modified JcrSearchResultSupplier to no longer generate those empty wildcard queries and this improved things quite a bit, the queries at least return in less then 10 seconds. However in our case this will not be sufficient as this is still too slow.

      Measure and record the times before the change and after the change in this ticket using the big data environment.

        Acceptance criteria

              miguel.martinez Miguel Martinez
              rico.jansen Rico Jansen
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started: