Configuring Protection for E-commerce Promotions
To handle sudden traffic surges during e-commerce promotions, you can configure QPS-based rate limiting on WAF to allow only a fixed number of QPS to reach your servers. This effectively protects your servers from abnormal traffic spikes during these events.
You can configure the following CC attack protection rule to enforce rate limiting when the QPS exceeds the upper limit allowed by the server, for example, 10,000. This rule can serve as a preventive measure for scenarios such as e-commerce flash sales and promotions.

If you have configured a CC attack protection rule by referring to the preceding figure for your domain name www.example.com, take the following steps to verify the protection:
- Clear the browser cache and set the QPS limit to 10,000 per second. When the QPS of requests to www.example.com/ exceeds 10,000, the excess requests are blocked, and a custom block page is returned.
- Return to the WAF console. In the navigation pane on the left, click Events. On the displayed page, check event details.
What is your overall rating for this page?
Thank 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