-
Notifications
You must be signed in to change notification settings - Fork 244
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
负载变化时导致并发突增 #173
Comments
有关联,但跟你理解的可能不一样。
|
平滑对用户数进行调度,在httprunner中有个版本的实现,可以借鉴下,不过对已有的改动比较大。 |
主要的问题不是平滑,而是 locust 下发的消息里面,是根据 locustfile 声明的 class 名来分配的,这样就要求 locustfile 和 boomer Task 里面声明的一致了,使用起来不方便。我想先改 locust,将从 locustfile 读改成从 client ready 消息读。 |
目前已经实现。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
locust version: 2.8.0
boomer: master
locust原生界面记录:
![阶梯负载](https://user-images.githubusercontent.com/19505806/187451878-9979f8fc-7e04-4c7f-848d-8f77345d138b.png)
实际压测工具集成展示(tcp连接监控):
![工具实际连接](https://user-images.githubusercontent.com/19505806/187452210-b8fc8d7b-c5f1-429b-ab09-e205ec1bf8e8.png)
看了些源码,原因可能是这里。不知道是否有后续解决方案?
The text was updated successfully, but these errors were encountered: