Load Balancing
Load Balancing mechanism used for WAF
Last updated
Was this helpful?
Load Balancing mechanism used for WAF
Last updated
Was this helpful?
Overview
Load balancing across multiple application instances is a commonly used technique for optimizing resource utilization, maximizing throughput, reducing latency, and ensuring fault‑tolerant configurations.
Load Balancing Algorithms
This field specifies the load balancing algorithm according to the configured website.
ROUND ROBIN: This algorithm is a smart approach to distribute client requests across an array of servers. It forwards the client request to each server in turn. Also, assigns a weight to each server as per current load and idle capacity.
LEAST CONNECTIONS: This algorithm is a dynamic load balancing algorithm. It forwards client requests to the server, which has the least no. of active connections on the server.
LEAST LISTENER CONNECTIONS:
LEAST RESPONSE TIME: This algorithm is a dynamic load balancing algorithm. It forwards client requests to the server, which have a small response time in order to serve requests.
LEAST REQUEST: This algorithm is a dynamic load balancing algorithm. It forwards client requests to the server, which have served the minimum amount of requests.
MINIMUM JITTER: This algorithm is a dynamic load balancing algorithm. It forwards client requests to the server, which have served the minimum jitter. NOTE: For this algorithm to work, the server group should have ICMP monitor attached.
IP HASH: This algorithm takes the client's and server's source and destination IP address to generate a unique hash key. This key is used to assign the client to a specific server. In the case of a broken session, the key can be regenerated, and the client can be directed to the same server.
PERSIST HASH: This algorithm takes the user input location within the current request to generate a user-defined custom unique hash key. This key is used to assign the client to a specific server. In the case of a broken session, the key can be regenerated, and the client can be directed to the same server. NOTE: In hashing-based load balancing, if a specified value does not exists then the request is served on the basis of client's IP address.
SNMP Metrics: This algorithm is a dynamic load balancing algorithm. It forwards client requests to the server, which have least CPU / RAM usage. NOTE: For this algorithm to work, the server group should have SNMP monitor attached.
Go to WAF > Listeners > Server Groups > Load Balancing
Set the configurations and Save Changes.
PARAMETERS
ACCEPTED VALUES
DEFAULT
Upstream Retries This algorithm is a dynamic load balancing algorithm. It forwards client requests to the server, which has the least no. of active connections to the back-end server.
Integer
1
Fail-over Threshold
Integer
50
Algorithm
Algorithm Drop-down
ROUND ROBIN
Add Location
String & Integer
This toggle button allows you to enable the Web-socket support for servers in the server group.None & Src IP
This option specify the upstream retries. By default, the value is set to 1.
This option specify the fail-over threshold in percentage of (active/total) primary servers for switching to backup servers. By default, the value is set to 50%.
This drop-down specify the algorithm used by the server group. By default, the value is selected as Round Robin.