Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49105

Create fixed thread pool ServiceExecutor

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service arch 2020-07-13, Service Arch 2020-07-27

      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.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: