Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1483

Reduce memory allocation per request and other optimizations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: None
    • Labels:
      None

      Description

      Reduce object allocation and memory allocation per request:

      • Better use of the methods of StringBuilder in StringOutput (done)
      • Dummy in StringHelper containsNonWhitespace to prevent regex check (done)
      • The velocity templates are cached in a LRU Map with a size of 89, move it the infinispan (done)
      • The user activity logger write 2 - 4 info messages, generate stack traces and exceptions if it don't found a resource (done)
      • In component, only secure the dispatch ID for javascript use if it's not a generated number (done)
      • Optimize enrollment table (which make several database queries per row) (done)
      • Feed must take the author/modifier names from the user manager cache (done)
      • Implement a prewarm infrastructure to fill some critical caches of OpenOLAt at start like: velocity templates, display names of users, Onyx resources (done)
      • Don't create the PreferencesImpl in UserImpl constructor (done)

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Dirk Furrer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 54 minutes
                5h 54m