Is Service QPS Calculated Based on Incoming Traffic or Outgoing Traffic?
The service QPS in WAF refers to the amount of normal traffic (unit: QPS) over all domain names and websites a WAF instance can protect.
Before buying WAF, confirm the total inbound and outbound peak traffic of the websites to be protected by WAF. Ensure that the bandwidth of the WAF edition you select is greater than the total inbound peak traffic or the total outbound peak traffic, whichever is larger.
Attack traffic must be removed in your estimations. For example, if your website is being accessed normally, WAF routes the traffic back to the origin ECS, but if your website is under attack, WAF blocks and filters out the illegitimate traffic, and routes only the legitimate traffic back to the origin ECS. The inbound and outbound traffic of the origin ECS you view on the ECS console is the normal traffic. If there are multiple ECSs, collect statistics on the normal traffic of all ECSs. For example, if you have six sites and the peak outbound traffic of each site does not exceed 2,000 QPS, then the total peak traffic volume does not exceed 12,000 QPS. In this case, you can buy the WAF platinum edition.
![](https://support.huaweicloud.com/eu/waf_faq/public_sys-resources/note_3.0-en-us.png)
Generally, the outbound traffic is larger than the inbound traffic.
For details about bandwidth, see QPS Expansion Package.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.