You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "jujiale (via GitHub)" <gi...@apache.org> on 2023/12/06 10:19:50 UTC

[I] help request: if request latency could lower than upstream latency? [apisix]

jujiale opened a new issue, #10606:
URL: https://github.com/apache/apisix/issues/10606

   ### Description
   
   hello:
     I find in our prd apisix server, in grafana, the request latency is lower than  upstream latency ,such as the following picture, I want to know if have any scenarios cloud result in such situation.
   
   as I find in logutil.lua
   the request latency calculated by **ngx.now() - ngx.req.start_time()** while upstream_latency is **$upstream_response_time**, so why the follwing picture's problem is occured.
   
   need your help, thanks a  lot.
   
   ![image](https://github.com/apache/apisix/assets/48037235/6ed596d5-4256-4300-b76f-ca876f5c3d61)
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):2.12.0
   - Operating system (run `uname -a`):3.10.0-1160.71.1.el7.x86_64
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): openresty/1.21.4.1
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):3.5.0
   - 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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1842593235

   we modify the prometheus DEFAULT_BUCKETS
    local DEFAULT_BUCKETS = {0.005, 0.02, 0.10, 0.5, 1, 3}


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844193238

   > this is a known issue and we have not been able to get to the root cause of it
   
   hello,I want to konw if other issues have suffered the similar situation, if you konw, please refer it to me, thanks a lot


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844119197

   > can you confirm if you haven't changed `proxy_request_buffering` and `proxy_buffering`?
   
   yes, I contact with my collegue, `proxy_request_buffering` and `proxy_buffering` not changed.


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek closed issue #10606: help request: if request latency could lower than upstream latency?
URL: https://github.com/apache/apisix/issues/10606


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "wklken (via GitHub)" <gi...@apache.org>.
wklken commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1842765574

   https://github.com/apache/apisix/issues/5146#issuecomment-928919399


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1842678584

   can you confirm if you haven't changed `proxy_request_buffering` and `proxy_buffering`?


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844798554

   > comment your email I'll invite you to slack.
   
   my email address:    jujiale1218@outlook.com


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844795283

   > this looks like a similar incident: https://the-asf.slack.com/archives/CUC5MN17A/p1696841941644229
   
   sorry, for some reasons,  I cloud not access this link,  could you capture a picture to me. thank you very much


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844797072

   comment your email I'll invite you to slack.


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1842947207

   @wklken thanks for this, very informative.


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844810509

   > https://the-asf.slack.com/archives/CUC5MN17A/p1696841941644229
   
   now, I could access it. thanks a lot


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1842646145

   this is a known issue and we have not been able to get to the root cause of it 


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1905723949

   I hope your query has been resolved. I will close this issue for now.


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "jujiale (via GitHub)" <gi...@apache.org>.
jujiale commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844121603

   > [#5146 (comment)](https://github.com/apache/apisix/issues/5146#issuecomment-928919399)
   
   thanks for your guide, I have read it. but in my case, but in my case, the upstream latency is **much bigger** than request latency, I guess is not the same reason.


-- 
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


Re: [I] help request: if request latency could lower than upstream latency? [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10606:
URL: https://github.com/apache/apisix/issues/10606#issuecomment-1844628230

   this looks like a similar incident: https://the-asf.slack.com/archives/CUC5MN17A/p1696841941644229


-- 
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