Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3004

extremely slow searching when logged in as admin

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: XMLUI
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      23
    • Documentation Status:
      Not Required

      Description

      On current master, doing any discovery query when logged in as admin takes between 90 to 180 seconds.

      I ran CPU profiling during such query in YourKit and found out that 43% of the time (63 seconds) was spent in org.dspace.authorize.AuthorizeServiceImpl.isAdmin(Context)

      See the attached HTML profiling report.

        Attachments

        1. Live-call-tree.html
          44 kB
          Ivan Masár
        2. Live-call-tree2.html
          161 kB
          Ivan Masár

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                helix84 Ivan Masár
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: