What is the syntax for configuring a "Least Connection" LoadBalancer on a TargetEndpoint?

When specifying the <Algorithm> for a LoadBalancer, do you specify "LeastConnection" or "LeastConnections" (added "s")?

For example:

<TargetEndpoint name="default">
  <HTTPTargetConnection>
      <LoadBalancer>
        <Algorithm>LeastConnection</Algorithm>
        <Server name="target1" />
        <Server name="target2" />
      </LoadBalancer>
  </HTTPTargetConnection>
  <Path>/test</Path>
</TargetEndpoint>

Thanks,

Stephen

Solved Solved
1 2 150
1 ACCEPTED SOLUTION

Hi @Stephen Gilson,

The answer is “LeastConnections".

Will

View solution in original post

2 REPLIES 2

Hi @Stephen Gilson,

The answer is “LeastConnections".

Will

Thanks @wwitman