nginx - How to test how many QPS, TPS, and IOPS a server can withstand in an LNMP environment
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 17:22:52
0
2
738

Software environment centos nginx mysql php, no version limit, multiple versions are better

过去多啦不再A梦
过去多啦不再A梦

reply all(2)
phpcn_u1582

Ha, it just so happened that a project the company was working on had just done a stress test. The server environment was centos+mysql+java+tomcat. I noted it in the blog, click to view it.
I am using jmeter, please forgive me if the writing is not professional enough. Basically, it is to initiate several concurrent connections within a certain period of time, and then perform a login operation and query operation for each connection, and judge the success or failure of the returned results. Finally came to a conclusion, for example, what I got is:
Number of samples: 5500;
Average connection time: 21 milliseconds;
95% of sample connection times are less than 33 milliseconds;
Error rate: 0%;
Server throughput: 54.4 times per second;
Data traffic: 3005.3KB per second.
Of course you can also use other software, but most of them are under Linux and not many under Windows. I have only tried one pylot, which requires python support. Compared with jemter, the function is simpler, but the setting is also simple.

淡淡烟草味

Alibaba Cloud has a stress testing service, you can also take a look at the usage documentation

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!