Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Service Arch
Description
The command processing path is blocking today: each user operation is assigned a thread that it will use to complete the operation. As a result, using shared pointers to reference any state that doesn't outlive an operation (e.g. ExecutionContext) is not necessary, and will introduce performance overhead on the hot path (e.g. the cost of heap allocation and ref-counting the shared object).
The idea is to remove these shared pointers from the command path to save on the cost and simplify the code.
Attachments
Issue Links
- depends on
-
SERVER-82831 De-futurize the command path
-
- In Progress
-