Details
-
New Feature
-
Resolution: Won't Fix
-
Major - P3
-
None
-
1.0
-
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
Issue Links
- related to
-
CSHARP-686 Replace RequestStart/Done with thread agnostic concepts of "binding" and "bound objects"
-
- Closed
-