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

benchmark tool should send only one catalog/factset per node in untimed mode

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      Currently when you do

      lein run benchmark -c postgres.ini -n 1000 -N 672
      

      you send 1000 of each message type. Since we only store the most recent catalog and factset, this results in a lot of duplicated work if you only want the data for testing a loaded database (rather than testing the loading process itself, for which you'd use the -i flag.) Under default conditions, the -N flag should only apply to reports, and should be assumed to be 1 for catalogs and factsets.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wyatt Wyatt Alt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support