Use Cases
CLB is ideal for the following use cases:
- Traffic Distribution: CLB efficiently distributes high volumes of incoming traffic across multiple backend servers to balance the load.
- Avoiding Single Points of Failure: If certain CVM instances become unavailable, CLB automatically isolates them, ensuring the application system continues to run smoothly.
- Scalable Growth: CLB allows for horizontal scaling, enabling you to expand the capacity of web and app servers based on demand.
- Global Traffic Management: With DNSPod, CLB offers global and multi-region traffic routing, facilitating remote disaster recovery and ensuring seamless service continuity.
Traffic Distribution and Elimination of Single Point of Failure
CLB can efficiently distribute business traffic across a set of real servers for optimal performance and reliability.
- When a client requests access to your service via CLB, the traffic is directed to a pool of real servers that ensure high performance and availability.
- If any real server becomes unavailable, CLB automatically isolates it and reroutes traffic to healthy CVM instances, maintaining seamless application operation.
- For setups spanning multiple availability zones, it's recommended to link a CLB instance to CVM instances across these zones, ensuring multi-zone disaster recovery at the server level.
- The session persistence feature ensures that a client’s requests are consistently directed to the same real server, enhancing access efficiency and providing a smooth user experience.
Horizontal Scalability
With Auto Scaling (AS), CLB automatically adjusts the number of CVM instances based on your business requirements.
- You can define scaling policies to control the number of CVM instances, set up the instance environment, and ensure continuous business operation. CLB dynamically adds instances during traffic spikes to maintain high performance and removes them when demand decreases to optimize costs.
- For instance, during major events like Black Friday sales, web traffic might surge by 10 times for just a few hours. In this scenario, CLB and AS can work together to efficiently scale your infrastructure, maximizing cost savings while handling the increased load.