![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
高并发
佐佐的佐
老婆最大,代码第二
展开
-
【工具-ab】压测遇到的问题
压测对象:阿里云centos7.2 2核4G内存安装的服务有\nginx\mysql\php-fpm 压测目的:了解吞吐量和并发,学习找服务器瓶颈 压测工具:ab index.php 伪代码: pdo连接数据库;echo 'sucess';exit; ab -c 10000 -n100 达到瓶颈了,但是内存只占用了%10,磁盘io读写负载也不高,查看php-fpm状态 ...原创 2019-07-22 18:45:53 · 332 阅读 · 0 评论 -
【工具-ab-性能压测】安装、使用
参考:https://www.daguanren.cc/post/ab_test_introduction.html yum -y install httpd-tools ab -v 查看ab版本 ab –help ab -n1000 -c 10 http://www.91cnm.com/ http://www.91cnm.com/是我的小网站挂在虚拟主机上的 ,-n访问1000次, -...原创 2019-07-22 18:28:41 · 347 阅读 · 0 评论