ShadowCharle opened a new issue #2683:
URL: https://github.com/apache/apisix/issues/2683


   ### Issue description
   I built two services, a target service and a SpringCloud Gateway service.
   
   I used WRK for stress tests on the same machine:
   
   1. Invoke the target service directly using WRK
   
![test1](https://user-images.githubusercontent.com/58029929/98623569-0052ab00-2347-11eb-8b6e-7257ae21956f.png)
   2. Configure the route of the target service in the SpringCloud Gateway 
service, and then use WRK to call the SpringCloud Gateway service
   
![test2](https://user-images.githubusercontent.com/58029929/98623608-13657b00-2347-11eb-9bb6-d80368e1863f.png)
   
   3. Create the route of the target service in ApISIX, and then call ApISIX by 
WRK
   
   
![test3](https://user-images.githubusercontent.com/58029929/98623622-19f3f280-2347-11eb-8c07-88495a801ea7.png)
   
   You can clearly see that the QPS of spring cloud gateway is higher than that 
of apifix! When I tested with the top command, I found that the CPU utilization 
rate of spring cloud gateway was higher than that of apifix. Is this the 
reason? Is there any way to increase the throughput of apifix?
   ### Environment
   
   * apisix version (cmd: `apisix version`):1.5
   * OS:centos7.3
   


----------------------------------------------------------------
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