[SERVER-48007] Destroy ARS in establishCursors out of line Created: 07/May/20 Updated: 29/Oct/23 Resolved: 08/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc6, 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Amirsaman Memaripour | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.4
|
||||||||
| Sprint: | Service arch 2020-05-18 | ||||||||
| Participants: | |||||||||
| Description |
|
Mongos has an instance of AsyncRequestsSender in here, and destroying it contributes to more than 1% of its execution time when running a read-only workload (YCSB 100% read). We can move the destruction off of the critical path and potentially avoid the performance penalty. |
| Comments |
| Comment by Githook User [ 08/May/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: This commit delegates the destruction of the ARS instance in MultiStatementTransactionRequestsSender |