bugVanisher / bugVanisher.github.io

my blog.
https://bugVanisher.cn
MIT License
0 stars 0 forks source link

Runner的状态与通信机制——locust源码分析 — 见欢的博客 #23

Open bugVanisher opened 4 years ago

bugVanisher commented 4 years ago

https://bugvanisher.github.io/2019/03/25/the-state-and-communication-of-runners/

上一篇文章讲了Locust的架构和核心类,那么接下来应该学习什么呢?我认为应该是:Runner的状态和通信机制。为什么呢?我们知道Locust等压测工具支持分布式压测,就是说理论上可以通过不断添加压力机(slave)提高并发数量,这个机制让使用者可以最大限度使用目前的机器资源。