SPRoundRobinServiceLoadBalancer Class

This class provides a round-robin load-balancer algorithm across all instances of a service application to which it is connected.

Inheritance Hierarchy


Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


Public NotInheritable Class SPRoundRobinServiceLoadBalancer _
    Inherits SPServiceLoadBalancer
Dim instance As SPRoundRobinServiceLoadBalancer
public sealed class SPRoundRobinServiceLoadBalancer : SPServiceLoadBalancer


Addresses for the service application are cached in the local configuration database. This class maintains an in-memory cache of that local configuration database, and returns the next "good" address from that list. When an operation fails using an address, the address is marked as "failed" for a configurable period of time and taken out of rotation.

There exists one instance of this class per service application per process.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


SPRoundRobinServiceLoadBalancer Members

Microsoft.SharePoint Namespace