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

Reject work if reactor is overwhelmed

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability

      A reactor thread can become overloaded if too many tasks are scheduled on it, leading to latency between scheduling and the task actually running. Sometimes, this can lead to a negative feedback loop wherein tasks begin to time out, leading to more cancellation tasks being scheduled on the reactor, leading to the reactor becoming more overwhelmed. We should short circuit in these situations to allow the reactor to continue making progress. We should also add some alerting if a reactor thread reaches a state like this.

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: