Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Performance on container is no good, just 5.6k QPS #11843

Closed
Mararesliu opened this issue Dec 19, 2024 · 2 comments
Closed

bug: Performance on container is no good, just 5.6k QPS #11843

Mararesliu opened this issue Dec 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Mararesliu
Copy link

Current Behavior

I run apisix on one pod with two container, limit 2 cpu, benchmark from apisix performance just 5.6k QPS, but benchmark to upstream directly is ok(26k). The problem is upstream latency too high, I see on the dashbord metrics
224CAB4B-0B6C-438b-B411-27C95268A6D3
I use Envoy ,it can got more than 8k QPS.

Expected Behavior

How can in increase upstream performance via apisix?

Error Logs

No response

Steps to Reproduce

1、RUN a pod with apisix and nginx demo.
2、setting root route to nginx
3、benchmark to apisix like
./wrk -t600 -c5000 -d120s -H "Host: nginx" http://172.17.0.2:9080

Environment

  • APISIX version (run apisix version): 3.11
  • Operating system (run uname -a): redhat 8.11
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@dosubot dosubot bot added the bug Something isn't working label Dec 19, 2024
@moonming
Copy link
Member

For API Gateway performance testing, please ensure that the upstream is not a performance bottleneck, otherwise the performance cannot be fully released. The ideal test scenario is that the CPU of the API Gateway data plane is 100% used, refer to https://docs.api7.ai/apisix/production/performance/performance-testing

@Mararesliu
Copy link
Author

It's because of i enable jager plugin.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Apache APISIX backlog Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants