Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81065

Cache the hash of the client metadata to speed up query stats computation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible

      For some of our smallest/quickest queries the client metadata is actually a big portion of the query stats store key, and we recompute the hash on every query to detect whether we've seen it before. The Client object lives as long as the client connection, so we should only need to compute this hash once per Client - which should be a lot more performant.

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: