souzens opened a new issue #2848:
URL: https://github.com/apache/apisix/issues/2848


   ### Issue description
   
   We use apisix-gw as the traffic entrance of the development environment in 
k8s. APISIX-gw runs in containers. 
   At present, apisix has more than 7000 router rules. In the past two days, it 
was discovered that the CPU and network traffic of apisix-gw will become high 
when the rules are batched. 
   We suspect that apisix reads etcd data and generates a lot of network 
traffic when reloading etcd data, which leads to a rise in CPU. 
   We are not sure if it is a problem with the v2 protocol.
   
   Is there any good way to solve this problem?
   
   
![image](https://user-images.githubusercontent.com/35559209/100207219-50825d80-2f42-11eb-86ed-2e4dda5af3e1.png)
   
![image](https://user-images.githubusercontent.com/35559209/100207235-54ae7b00-2f42-11eb-8cab-1851b03163b5.png)
   
![image](https://user-images.githubusercontent.com/35559209/100207278-6132d380-2f42-11eb-821b-85159bb8a152.png)
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: apisix-gw pod in K8S 
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to