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

Use more than one channel per remote in gRPC channel pool

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

      GRPC has a known performance issue with overloading a single channel with too many streams that can be mitigated by the application pooling multiple channels per remote. In the presence of too many streams on a single channel, gRPC will queue the streams on the channel which may lead to timeouts.

      We could resolve this by tracking streams per channel and implementing a queue of channels in the channel pool, looking something like this (though the stub tracking logic is incorrect in the POC, but the gist is here).

            Assignee:
            Unassigned Unassigned
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: