Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2985

Fix excessive CPU usage by clj-i18n

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.2.2
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      2

      Description

      Doing some rough profiling of command enqueuing found 40% of CPU being eaten by clj-i18n. The issue appears to be repeated reading/parsing of the locale CLJ file. We should try putting that behind a delay and derefing it each time to ensure we don't reread that file for each trs/tru invocation.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  ryan.senior Ryan Senior
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: