jagerzhang opened a new issue #5604: URL: https://github.com/apache/apisix/issues/5604
### Issue description 最近我们开始将生产环境的业务迁移到APISIX,迁移后有业务反馈延迟增大,实测了下,延迟确实存在抖动现象,在我们的生产环境中,接入APISIX的业务正常延时是25ms左右,但是抖动的时候延迟会超过200ms,最高到了800ms,对于延迟比较敏感的业务会受到影响。 不知道该如何定位。为了排除是我们生产环境网络或者APISIX配置的问题,我这边基于官方的example也测试了下,发现在本地网络环境下也存在抖动,正常应该是0ms,但是抖动的时候会达到10ms以上,不太符合APISIX 0.2ms延迟的预期。 具体测试用例和初步结果我已经上传到了github:https://github.com/jagerzhang/apisix-latency-test 辛苦APISIX研发专家帮忙看看这个是APISIX本身的问题还是其他什么因素影响的? 如果这个测试用例10倍抖动不算问题的话,我们的生产环境抖动该如何定位? ### Environment - apisix version (cmd: `apisix version`): centos-2.10.2 ### Steps to reproduce 复现用例已整理上传,详见:https://github.com/jagerzhang/apisix-latency-test ### Actual result ``` cost: 13ms cost: 11ms cost: 12ms cost: 15ms cost: 11ms cost: 11ms cost: 11ms cost: 11ms cost: 13ms cost: 14ms cost: 14ms cost: 11ms cost: 13ms cost: 13ms cost: 12ms Latency stats: 0ms: 9726 0~2ms: 191 2~5ms: 32 5~10ms: 28 >10ms: 22 ``` ### Error log None ### Expected result 本地测试延迟应该在1ms左右比较正常,通过直接测试后端Nginx也可以发现延迟稳定很多。 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org