Docs
ulb
Application Load Balancer ALB
Product Introduction
Product Features

Product Features

Feature Comparison

Product FeaturesApplication Load Balancer ALBClassic Load Balancer CLBDescription
Load Balancing AlgorithmRound-robin, Source IP hash, Weighted Round-robin, Least Connections, Primary StandbyRound-robin, Source IP hash, Consistent Hashing, Least Connections, Primary Standby
Health CheckRegularly checks the health of backend service nodes according to rules, automatically isolates abnormal service nodes, and quickly switches out problematic nodes to ensure service availability.
Session PersistenceSupports session persistence, allowing users to forward their requests to the same backend service node.
Cross-Availability Zone Disaster RecoverySupports binding backend service nodes of different availability zones to achieve cross-availability zone disaster recovery.
Public Network FirewallOnly supports request proxy type.
Domain ForwardingSupports forwarding traffic to different backend nodes based on the access domain and URL.
Certificate ManagementSupports HTTPS certificate management.
SSL OffloadingSupports HTTPS SSL Offloading.
WebSocket
Mount Hybrid Cloud NodesOnly supports request proxy type.
Log FunctionOnly supports request proxy type.
HTTP/2×HTTPS supports HTTP/2.
Redirection×Supports redirection from HTTP to HTTPS.
Data Compression×HTTP/HTTPS protocol supports enabling data compression.
Security Policy×HTTPS protocol supports the configuration of TLS protocol versions and cipher suites.
Internal Network Traffic Monitoring×Does not currently support HTTPS bidirectional authentication.
Single Instance Supports Both Internal and External Network Listening×Supports a single instance listening to both internal and external network requests, reducing the complexity of business construction.

Load Balancing Algorithm

  • Round-robin. After receiving a new TCP connection, the request is forwarded to each backend service node in turn.
  • Source Address Hash. Based on the source address of the TCP connection, a certain hash algorithm is used to forward the request to a certain service node. Subsequent accesses with the same source IP will be directed to the same service node, assuming the number of service nodes remains unchanged.
  • Weighted Round-robin. After receiving a new TCP connection, based on the different weights you specify for the backend service nodes, the requests are probabilistically assigned to various service nodes.
  • Least Connections. After receiving a new TCP connection, it will count the number of connections from instances to backend service nodes in real time and establish a new connection and send data to the service node with the lowest connection count.
  • Primary-standby. Under VServer, only two service nodes can be added as primary and standby nodes. When the health check of the primary node fails, it automatically switches to the standby node. (If there are service nodes under VServer, switching from other load balancing algorithms to “primary-standby” algorithm is not allowed.)