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

Move thread management to controller thread in ServiceExecutorAdaptive

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • Service Arch

    Description

      Worker threads are currently able to start new worker threads and remove themselves from the active thread list. The causes behind these decisions are transparent only on the thread side. These control and analysis actions should mostly be on the controller side. If this happens, the majority of the atomic operations can be simplified/downgraded to single-thread alternatives and most of the locks can be removed. There is also the direct advantage of shifting work to the controller thread, which means the worker threads will generally be more efficient and system-friendly.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: