You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/07 18:24:33 UTC
[GitHub] [apisix] gamer22026 opened a new issue #6258: bug:
gamer22026 opened a new issue #6258:
URL: https://github.com/apache/apisix/issues/6258
### Issue description
First request to json endpoint using apisix is slow to return. Subsequent requests are fast. After a waiting a few minutes, another request is also slow (maybe some timeout value reached), and again subsequent requests are fast. Hitting the json endpoint directly (bypassing apisix) there is no slowdown.
Also see closed issue: https://github.com/apache/apisix/issues/5559
Running on a k8s 1.21 cluster
### Environment
- apisix version (cmd: `apisix version`): 2.12.0
- OS (cmd: `uname -a`):linux
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 1.19.9.1
- etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 3.5.1
- apisix-dashboard version, if have: 2.9.0
- the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner): N/A
- luarocks version, if the issue is about installation (cmd: `luarocks --version`): 3.8.0
### Steps to reproduce
Create rest endpoint that returns json data
Create route to this backend endpoint
curl the rest endpoint: Observe there is a no delay returning the data
curl the apisix route endpoint: Observe that on first connect there is a noticeable multi-second delay.
curl the apisix route endpoint again: Observe that there is no delay returning data
Wait 5m
curl the apisix route endpoint: Observe that on first connect there is a noticeable multi-second delay.
### Actual result
Actual result is on first connect via apisix route endpoint, there is a multi-second delay
### Error log
Nothing
### Expected result
_No response_
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gamer22026 closed issue #6258: bug: Slow response time on first connect
Posted by GitBox <gi...@apache.org>.
gamer22026 closed issue #6258:
URL: https://github.com/apache/apisix/issues/6258
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org