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

Reintroduce usage of runOnDataAvailable in SessionWorkflow

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling

      Recent refactors removed the use of this method in favor of scheduling a single iteration on the service executor. This has made it difficult to experiment with the "thread per active operation" idea, since we never release a thread once we start the "iteration" on it. Reintroducing the use of runOnDataAvailable will not break existing code (since the ServiceExecutorSynchronous simply calls schedule directly), but gives us an opportunity to explore other executors which do cede threads back for other work between iterations.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: