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

Stop runtime schema validation of reports

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.0.2
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1

      Description

      Runnng some scale tests with Nick Walker I found schema validation of reports consuming a significant percentage of CPU time (roughly 30%). I removed that validation and we saw a significant performance boost. Report processing time dropped from ~250ms to ~90ms and the number of commands processed per second increased from the high 40s to mid 50s.

        Attachments

          Activity

            jsd-sla-details-panel

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: