During the testing process, we discovered a performance bottleneck in Shenyu. The test scenario was set up to use Jmeter to conduct a stress test on a Mock microservice, with specific conditions of simulating 100,000 requests from 1000 concurrent users. When directly connecting to the Mock service, the system achieved a high throughput of 9000 queries per second (QPS), with a 99th percentile latency of 32 milliseconds, demonstrating robust performance.
However, when the same test was conducted through Shenyu gateway as a proxy for Spring Cloud, a significant performance degradation was observed. Specifically, the QPS dropped to just over 2000, while the 99th percentile latency soared to 826 milliseconds. This indicates that when routed through Shenyu, the system's speed in processing requests slowed down markedly, and the response time for most requests increased substantially.
Expected Behavior
The throughput of shenyu springcloud plugin can be improved
Is there an existing issue for this?
Current Behavior
During the testing process, we discovered a performance bottleneck in Shenyu. The test scenario was set up to use Jmeter to conduct a stress test on a Mock microservice, with specific conditions of simulating 100,000 requests from 1000 concurrent users. When directly connecting to the Mock service, the system achieved a high throughput of 9000 queries per second (QPS), with a 99th percentile latency of 32 milliseconds, demonstrating robust performance. However, when the same test was conducted through Shenyu gateway as a proxy for Spring Cloud, a significant performance degradation was observed. Specifically, the QPS dropped to just over 2000, while the 99th percentile latency soared to 826 milliseconds. This indicates that when routed through Shenyu, the system's speed in processing requests slowed down markedly, and the response time for most requests increased substantially.
Expected Behavior
The throughput of shenyu springcloud plugin can be improved
Steps To Reproduce
No response
Environment
Debug logs
No response
Anything else?
No response