Load Balancing

Remoting SDK's client channels support built-in load balancing and fault tolerance when connecting to multiple servers exposing the same service.

This is configured entirely on the client side via ServerLocators — a list of server addresses the channel can route calls to. No changes are required on the server.

  • Load Balancing distributes calls across all available servers in round-robin fashion.
  • Fault Tolerance automatically retries on another server if the current one fails.
  • Server Probing periodically checks server availability and enables or disables locators accordingly.

Both options are controlled via DispatchOptions on the client channel and can be toggled independently at runtime.

Implementations

  • IpTcpClientChannel (.NET) — ServerLocators, DispatchOptions, ProbeServers, ProbeFrequency
  • TROTCPClientChannel (Delphi) — ServerLocators, DispatchOptions, ProbeServers, ProbeFrequency

Samples

See Also