为避免某些抓取场景频繁前端调用或误操作点了,需要设置缓存,用以提醒
cache
压力测试通常需要的工具为jmeter和wrk和httprunner,为了支持更高并发的测试,通常选用go底层的httprunner更为合适,可以获取具体的细节及理论上支持上万+并发发起,只要server支持即可
其中httprunner支持的命令行为:hrp -h
理解:httprunner overview
安装参考:hrp install
pythonclass Question(models.Model)
class Question(models.Model)
asyncio 是 Python 中用于编写异步代码的标准库,它的核心是事件循环
python中一般使用threading和concurrent.futures.Threa