You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "HelloKevinTian (via GitHub)" <gi...@apache.org> on 2024/11/27 08:03:37 UTC
[I] help request: apisix upstream_latency is too high? [apisix]
HelloKevinTian opened a new issue, #11784:
URL: https://github.com/apache/apisix/issues/11784
### Description
HI
I use apisix as my gateway layer in k8s, and I found that the upstream_latency of some http requests has increased for no reason. Here is the upstream configuration:
```
{
"nodes": [
{
"host": "some-of-my-service.xxx-service",
"port": 8080,
"weight": 100
}
],
"timeout": {
"connect": 30,
"send": 30,
"read": 30
},
"type": "roundrobin",
"hash_on": "vars",
"scheme": "http",
"pass_host": "pass",
"name": "some_of_my_upstream",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
}
```
The HTTP response p95 of this upstream server is 3ms, and the HTTP qps is 100/sec. However, thousands of upstream_latency messages with a latency greater than 1000ms appear every day.
### Environment
- APISIX version (run `apisix version`): 2.15
- Operating system (run `uname -a`): k8s-apisix-pod
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): v3.5
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org