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

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPServiceLoadBalancer
      Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

Remarks

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

Reference

SPRoundRobinServiceLoadBalancer members

Microsoft.SharePoint namespace