Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14037

Investigate changes in SERVER-49109: Attach fixed thread pool ServiceExecutor as initial ServiceExecutor

      Description

      Downstream Change Summary

      This commit adds a new serverParameter initialServiceExecutorThreadingModel which can have the values "borrowed" and "dedicated". It currently defaults to "dedicated". "dedicated" means that each client is assigned a new thread that lasts while the connection is open. "borrowed" means that each client uses a thread from a pool of threads. It may be a different thread for each new operation.

      Description of Linked Ticket

      Once we have a fixed thread pool ServiceExecutor, we should attach it as the initial executor for new external clients. Once a connection is auth'd (if auth is enabled), we should switch the client to the ServiceExecutorSynchronous. We might want to be more discerning, but auth is the minimum criteria.

      Scope of changes

      Update these pages:

      https://docs.mongodb.com/manual/reference/configuration-options/#mongodb-setting-net.serviceExecutor

      https://docs.mongodb.com/manual/reference/program/mongod/#std-option-mongod.–serviceExecutor

      https://docs.mongodb.com/manual/reference/program/mongos/#std-option-mongos.--serviceExecutor

      https://docs.mongodb.com/manual/reference/configuration-file-settings-command-line-options-mapping/

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            joseph.dougherty@mongodb.com Joseph Dougherty
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 41 weeks, 2 days ago