IceGrid.AdaptiveLoadBalancingPolicy

class IceGrid.AdaptiveLoadBalancingPolicy(nReplicas: str = '', loadSample: str = '')

Bases: LoadBalancingPolicy

The load balancing policy that returns the endpoints of the server(s) with the lowest load average.

Parameters:
  • nReplicas (str)

  • loadSample (str)

loadSample

The load sample to use for the load balancing. The allowed values for this attribute are “1”, “5” and “15”, representing respectively the load average over the past minute, the past 5 minutes and the past 15 minutes.

Type:

str

Notes

The Slice compiler generated this dataclass from Slice class ::IceGrid::AdaptiveLoadBalancingPolicy.

static ice_staticId() str

Obtain the type ID of this Slice class or interface.

Returns:

The type ID.

Return type:

str