Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-203

Plugin load balancer for distributing reads to secondaries

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 1.0
    • Feature Request
    • None

    Description

      Currently the C# driver is hard coded to distribute reads to secondaries (when slaveOk=true) using a round robin algorithm. However, alternative strategies exist. For example, reads could be distributed in proportion to the distance of the secondaries as measured by ping time. If the driver defined an IReadLoadBalancer interface it could provide two reference implementations: RoundRobinLoadBalancer and ProportionalDistanceLoadBalancer, and application writers could write new load balancers to meet their specific requirements.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robert@mongodb.com Robert Stam
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: