Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] When using JMeter to send high concurrency requests to the LAF service, a 502 error is encountered. #1969

Open
2 tasks done
a386574648 opened this issue May 13, 2024 · 0 comments

Comments

@a386574648
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Linux (self-host)

What happened

When performing high concurrency testing on the LAF service with JMeter, there exists an HTTP request returning a substantial amount of data, roughly 2MB, which not only slows down responses to other requests but also triggers 502 Bad Gateway errors. However, when this specific request is excluded, both the slow response times and the 502 errors cease to occur. How should we optimize the LAF service to resolve this issue, or what would be the appropriate approach to handle this scenario?

使用jmeter高并发请求laf服务,有一个http请求返回的数据量很大,大概2M,这个请求会导致其他的请求的响应变慢且会有502的报错,如果排除这个请求,则没有响应慢的问题也没有502报错,该如何对laf进行调优。或者该怎么处理这个问题?

image

How to reproduce

1.录制http请求脚本;
2.使用jmeter压测laf服务;
laf服务配置:limit:4c8g;request:2c4g;5副本;
jmeter:20个并发

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant