TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Load Testing with Python: Locust Testing and Bokeh Visualization

3 点作者 samueladam超过 5 年前

1 comment

dragonsh超过 5 年前
Locust [1] is fantastic for load testing for python or any REST API, it&#x27;s also nice as wrk. [2]<p>In our startup we used it to test 100,000 users traffic on our python based backend and optimized it continuously. We also used wrk with test cases written in LUA scripts. That too worked fantastic.<p>We did not use bokeh visualization, but just with locusts we could improve the response time by logging and improving sqlalchemy query logs.<p>[1] <a href="https:&#x2F;&#x2F;locust.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;locust.io&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;wg&#x2F;wrk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wg&#x2F;wrk</a>