Backend Server Group Overview
What Is a Backend Server Group?
A backend server group is a logical collection of one or more backend servers to receive massive concurrent requests at the same time. Only cloud servers can be added as backend servers.
The following table describes how a backend server group forwards traffic.
Step 1 |
A client sends a request to your application. The listeners added to your load balancer use the protocols and ports you have configured to forward the request to the associated backend server group. |
---|---|
Step 2 |
Healthy backend servers in the backend server group receive the request based on the load balancing algorithm, handle the request, and return a result to the client. |
Step 3 |
In this way, massive concurrent requests can be processed at the same time, improving the availability of your applications. |
Shared load balancers have only one type of backend server group, where you can only add cloud servers.
Backend Server Type |
Description |
Reference |
---|---|---|
Cloud servers |
You can add ECSs or BMSs that are in the same VPC as the load balancer. |
Advantages
Backend server groups can bring the following benefits:
- Reduced costs and easier management: You can add or remove backend servers as traffic changes over the time. This can help avoid low resource utilization and makes it easy to manage backend servers.
- Higher reliability: Traffic is routed only to healthy backend servers in the backend server group.
Controlling Traffic Distribution
You can configure the key functions listed in Table 3 for each backend server group to ensure service stability.
Key Function |
Description |
Detail |
|
---|---|---|---|
Load Balancing Algorithm |
The load balancer distributes traffic based on the load balancing algorithm you have configured for the backend server group. |
||
Sticky Session |
Specifies whether to enable the sticky session option. If you enable this option, all requests from a client during one session are sent to the same backend server. |
Backend Server Group and Listener Protocols
A backend server group can be associated with only one shared load balancer and used by only one listener.
The backend protocol of the new backend server group must match the frontend protocol of the listener as described in Table 4.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot