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

Performance experiment: Hide the cost of makeOperationContext() "behind" the cost of sourcing the work item

    • Type: Icon: Engineering Test Engineering Test
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch 2023-04-17, Service Arch 2023-05-01

      Similar to what we did in v4.4 by moving the destruction of the operation context after we've sunk the response over the network, we would like to try moving the creation of the operation context to the point where we're starting the session workflow iteration, before sourcing the request. The idea is that the client will take some time to prepare the request before sending it, and we could pay the cost of operation context creation during that time.

      The goal of this ticket is to do preliminary performance testing to check whether moving the creation of operation context to the beginning of the session workflow iteration would yield any performance improvements.

        1. SERVER-75868.csv
          12 kB
        2. SERVER-75868-diff
          2 kB

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: