> For the complete documentation index, see [llms.txt](https://docs.link11.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.link11.com/product-guides/secure-cdn/interface/load-balancing.md).

# Load Balancing

<figure><img src="/files/AQUvcs2fPRsXK7pottqa" alt=""><figcaption></figcaption></figure>

## Load Balancer List

The main window shows a list of the currently configured Load Balancers.&#x20;

The load balancing parameters are described below in [Add or Edit Load Balancing Instance](#add-or-edit-load-balancing-instance). (Note: in the main window, *Modus* refers to the [Load Balancing Algorithm](#load-balancing-algorithm).)

Available controls are:

* **Add new instance**: opens a window (discussed below) for adding a Load Balancer.
* **Edit**: opens the Load Balancer for editing in a window (discussed below)
* **Delete**: deletes this Load Balancer instance.

## **Add or Edit Load Balancing Instance**

<figure><img src="/files/C7CfH2WUWRlJVRrFnxfW" alt=""><figcaption></figcaption></figure>

This window appears when adding or editing a load balancer.

{% hint style="info" %}
For some of the fields in this window, you must enter a value and then click somewhere outside the control. This will cause the value to register as having been entered, and enable any dependent fields.
{% endhint %}

### **Name**

The name of this instance, for use within the interface.

### **Origin IP-Address**

The IP address of the customer's origin server for traffic forwarding.

### **Origin Timeouts**

Timeouts for the origin server. Slower backend servers may need a higher timeout time.

### **Origin Max Fails**

The allowable number of consecutive unsuccessful attempts to communicate with the origin server.

### **Load Balancing Algorithm**

Load balancing distributes network traffic across different servers. Different load balancing algorithms will distribute the network traffic according to different criteria.

* *Round Robin*: Origin servers are used continuously one after the other.
* *Weighted Round Robin*: You can define weight points for your origin IPs. IPs with a higher weight will be used more
* *Least Used*: Next request is assigned to the server with the least number of active connections.
* *Sticky-IP*: Weight based load balancing where a client IP addresses will always forwarded to the same origin server.

### **Configure Weighted Load Balancing**

If Weighted Round Robin is chosen as the Load Balancing Algorithm, this field will become available. Here, a point value from 0 – 1000 is assigned. Origin servers with a higher weight/point value will be used more.

## Summary of Load Balancing Algorithms

{% hint style="info" %}
The table below includes Configuration schemas. These can be used in the [HTTP(s) Origin Address](/product-guides/secure-cdn/interface/instances.md#http-origin-address-and-port) of a Location. Example: `rr:128.3.4.5,128.3.4.6,128.3.4.7`
{% endhint %}

| Load Balancing method | Configuration                                  | Description                                                                                                                        |
| --------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Weighted Round Robin  | rand:ip1/weight1,ip2/weight2\[,ipN/ weightedN] | [Weight points](#configure-weighted-load-balancing) are defined for origin IPs. IPs with a higher weights will be used more often. |
| Round Robin           | rr:ip1,ip2\[,ipN]                              | Origin servers are used continuously, one after the other.                                                                         |
| Least Used            | lu:ip1,ip2\[,ipN]                              | The request is assigned to the server with the least number of active connections.                                                 |
| Sticky IP             | stickyip:ip1/weight1\[,ipN/\[weightN]]         | Weight based load balancing, where a given client IP address will always be forwarded to the same origin server.                   |
