Load balancing is the process of distributing requests across a pool of application servers. We provide HTTP/HTTPS (Layer 7) and TCP (Layer 4) load balancing service.
There are two main benefits to load balancing: the scalability and high availability of the application. As your user base grows, you can seamlessly add application servers to the pool without downtime. And if one server fails, others ensure the application stays online. Other benefits include TLS workload offloading to a load balancer, and IP floating without the need for a Layer 2 domain.
How it works
You create a load balancer instance in the Customer Portal. In the process of load balancer creation, you are provided with its public IP address (you can have multiple IPs for a single instance at will). You then use the load balancer's IP address as if it was the address of your application server, and the load balancer distributes incoming requests across a pool of your real application servers.
For example, you can set up an HTTP(S) load balancer and point a domain name to the balancer's public IP by setting the corresponding A record for that domain name. In this scenario, the load balancer instance receives HTTP/HTTPS requests sent to your domain name and distribute them across your upstream application servers.
Our load balancing solution is NGINX Plus based, and we use "Least Connections" load balancing method, where each incoming request is passed to the server with the least number of active connections, taking into account the weights of servers.