Help Center/
Web Application Firewall/
User Guide/
Website Settings/
Managing Websites/
Switching the Load Balancing Algorithm
Updated on 2024-09-19 GMT+08:00
Switching the Load Balancing Algorithm
If you configure one or more origin server addresses, you can use a load balancing algorithm to distribute traffic across these origin servers. WAF supports the following algorithms:
- Origin server IP hash: Requests from the same IP address are routed to the same backend server.
- Weighted round robin: All requests are distributed across origin servers in turn based on weights set to each origin server. The origin server with a larger weight receives more requests than others.
- Session hash: Requests with the same session tag are routed to the same origin server. To enable this algorithm, configure traffic identifiers for known attack sources, or Session hash algorithm cannot take effect.
Constraints
- You have selected Cloud Mode - CNAME for your website deployment.
- Only the professional and platinum editions support configuring load balancing algorithms.
- Configuring load balancing algorithms is supported in some regions. For details, see Functions.
Switching the Load Balancing Algorithm
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Click in the upper left corner and choose Web Application Firewall under Security & Compliance.
- In the navigation pane, choose Website Settings.
- In the Domain Name column, click the domain name of the website to go to the basic information page.
- In the Load Balancing Algorithm field, click . In the dialog box displayed, select a load balancing algorithm and click Confirm.
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot