Functional Features
This article introduces the features supported by Network Load Balancer (NLB) and the differences from the traditional Load Balancer (CLB) Layer 4 load balancing features.
Function Category | Function | Traditional Load Balancer (CLB) | Network Load Balancer (NLB) | Description |
---|---|---|---|---|
Listening | TCP Listening | ✔ | ✔ | TCP protocol listening |
UDP Listening | ✔ | ✔ | UDP protocol listening | |
Scheduling algorithm | Round robin | ✔ | ✔ | The client request received is transferred to each backend service node in turn. |
Weighted Round robin | ✔ | ✔ | The client request received will be allocated to each service node according to the different weights of the backend service nodes you specified. | |
Source IP Hash | ✔ | ✔ | Based on the consistent hash of the source IP, the same source address will be scheduled to the same backend service node. | |
Least Connections | ✔ | ✔ | The backend service node with a smaller number of current connections gets polled more often (higher probability). | |
Weighted Least Connections | - | ✔ | Poll based on the weight set for each backend service node, while also considering the number of backend server connections. | |
Consistent Hashing | ✔ | ✔ | Select backend service nodes based on the source destination IP, source destination port, and the results of the consistent hashing algorithm. Adding or removing backend service nodes will only affect a small number of connections. | |
Consistent Hashing (Calculate Port) | ✔ | - | The consistent hashing algorithm selects backend service nodes based on the source destination IP. Adding or removing backend service nodes would only affect a small number of connections. | |
Master-Slave | ✔ | - | Only two service nodes can be added under VServer as the master and slave nodes. When the health check of the main node fails, it will automatically switch to the slave node. | |
Health check | Port Check | ✔ | ✔ | A dedicated probe service is deployed in each region to check whether the IP+port of the backend node is normal. |
UDP Check | ✔ | ✔ | The health check service regularly sends UDP request messages to service nodes, and judges whether the service node is normal based on the configured return request message. | |
PING Check | ✔ | ✔ | Detects whether backend nodes are normal using the Ping method. | |
Backend mounting capacity | Uhoust, UNI, etc. | ✔ | ✔ | Supports mounting of public cloud resources in the same region and VPC |
IP Type | - | ✔ | Supports adding through cloud networking | |
Advanced Features | Full port listening | - | ✔ | Supports listening to all ports of the listening port segment |