[DOCS-14037] Investigate changes in SERVER-49109: Attach fixed thread pool ServiceExecutor as initial ServiceExecutor Created: 07/Dec/20  Updated: 13/Nov/23  Resolved: 14/Jul/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.9.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Joseph Dougherty
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-49109 Attach fixed thread pool ServiceExecu... Closed
Participants:
Days since reply: 2 years, 30 weeks ago
Epic Link: DOCSP-9747

 Description   

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.)



 Comments   
Comment by Joseph Dougherty [ 14/Jul/21 ]

This feature isn't landing until at least v5.1. See discussion here for details.

Generated at Thu Feb 08 08:09:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.