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

Make pooled js scope re-use time based

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • Service Arch 2019-03-11
    • 0

      Current js scope reuse is based on the number of times used. I.e. a scope will be re-used 10 times, then thrown away. This is suboptimal for workloads that don't perform large scans.

      Switching to a time based reuse strategy gives the same benefits as a low reuse count (limiting memory consumption and avoiding accumulating too much debris in the scopes), while improving performance for those more targeted workloads

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: