[SERVER-46605] Store JavaScript Scope as decoration on Client Created: 04/Mar/20 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | James Wahlin | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
This will replace the current OperationContext decoration. We think extending the lifetime of a Scope to a whole Client will be simpler and more performant than either PooledScope or a per-operation Scope. PooledScope is cheap to retrieve but expensive to make calls into; ImplScope is cheap to make calls into but more expensive to create. |