About load balancing

What is load balancing

Load balancing is a cluster technology that distributes services among multiple real servers to improve processing capability and service availability.

The system allows you to create IPv4 or IPv6 load balancers that provide services at virtual service IP addresses. On a load balancer, you can configure one or multiple listeners to listen for the connection requests that clients send over a certain protocol on specific ports and to forward the requests to the real servers in a real server group based on a forwarding policy. You can enable health check for the system to monitor the running status of real servers. If a real server has health issues, the load balancer attached to the real server will distribute new requests to healthy real servers in the same real server group.

Figure-1 Load balancing working mechanism

 

 

Concepts

Benefits

Application scenarios

Service distribution

Load balancers can distribute traffic of intensively accessed services to multiple real servers based on an LB algorithm and distribute the traffic of a client to a fixed real server to improve access efficiency. For high availability, the system automatically bypasses failed real servers and distributes traffic only to the real servers that are running correctly.

Figure-2 Service distribution

 

DRX

Some services have large fluctuations in the demand for IT resources, and their peak traffic might be several times the normal traffic. You can configure dynamic resource extension (DRX) for load balancing resources of those services. When the traffic of a service surges up, the system fast copies a specified number of cloud hosts and adds them to the real server group for the service. When the traffic of the service drops to the normal level, the system automatically deletes or shuts down excess cloud hosts.

Figure-3 DRX

 

Relationship with other cloud services

Table-1 Relationship with other cloud services

Service

Relationship

VPC/classic network

The virtual service IP addresses of load balancers are provided by the private networks of VPCs or subnets of classic networks.

Cloud host

Cloud hosts act as real servers to process service requests.

Elastic IP

Load balancers use elastic IP addresses to communicate with the public network.