[SERVER-49105] Create fixed thread pool ServiceExecutor Created: 25/Jun/20 Updated: 29/Oct/23 Resolved: 22/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | 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 | ||||||||||||||||||||||||||||
| Sprint: | Service arch 2020-07-13, Service Arch 2020-07-27 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
The common usage of ServiceExecutor is very similar to that for OutOfLineExecutor. It would be good if we can avoid adding more thread pool implementations to our system. We can make a mostly one-to-one wrapper for ThreadPool that allows us to reuse our existing code to serve this new use case. While we're here, it may make sense to have ServiceExecutor inherit from OutOfLineExecutor. This will make it easier for Command implementations to rejoin the synchronous command path. |
| Comments |
| Comment by Githook User [ 22/Jul/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 13/Jul/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |