【笔记】Apache测试并发

前言

使用Apache的ab工具测试并发

测试

-n 20000:指定一共发送请求数
-c 50:指定并发量
http://localhost:指定访问路径

1
ab -n 20000 -c 50 http://localhost

完成