hemakumar-ganumukkala opened a new issue, #10956:
URL: https://github.com/apache/apisix/issues/10956

   ### Current Behavior
   
   There are many requests are taking more than 50ms and some even seconds. 
   
   
   See below log information showing the apisix lua script took 2 sec .
   
   2024/02/07 01:04:06 [info] 86#86: *33815 [lua] init.lua:636: 
http_access_phase():
   2024/02/07 01:04:08 [info] 86#86: *33815 [lua] client.lua:123: dns_parse():
   
   Above error log is info log generated by the apache apisix , Log format can 
be configured only for the access log application request log which can print 
the in msec but on the error log . But it will not solve problem to debug which 
apisix lua script have taken the time in milli seconds . The latency which 
around 30ms - 1000ms are difficult to trace without milli sec being enabled
   
   issue is with current apisix 3.8.0 version and even 3.7.0 too. 
   
   ### Expected Behavior
   
   Apache apisix should not be having any performance issues , having more than 
100 ms is a problem. 
   
   
   
   ### Error Logs
   
   2024/02/07 01:04:06 [info] 86#86: *33815 [lua] init.lua:636: 
http_access_phase():
   2024/02/07 01:04:08 [info] 86#86: *33815 [lua] client.lua:123: dns_parse():
   
   ### Steps to Reproduce
   
   Configure a routes and run a load test of 100 req/sec  run for 2 sec .
   
   ### Environment
   
   Apisix version 3.8
   app.kubernetes.io/instance: apisix
   app.kubernetes.io/managed-by: Helm
   app.kubernetes.io/name: apisix
   app.kubernetes.io/version: 3.8.0
   helm.sh/chart: apisix-2.6.0
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to