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

Improve the performance of asynchronous buildInfo

    • Service Arch
    • 0

      The new, asynchronous implementation of buildInfo (see here) imposes some performance overhead on standalone in-memory benchmarks. The source of this overhead could be a mix of the following:

      • The context switch to schedule the rest of continuation on the buildInfo executor (see here).
      • The number of threads used to run asynchronous buildInfo commands (see here).
      • The cost of binding the client strand to the executor thread to serve buildInfo requests (see here). This is equivalent to the time it takes to construct the future-chain and releasing the client strand in here.

      The acceptance criteria for this ticket is to reduce the cost of asynchronous buildInfo for the following benchmarks:

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: