Software environment centos nginx mysql php, no version limit, multiple versions are better
phpcn_u15822017-05-16 17:24:52
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.
淡淡烟草味2017-05-16 17:24:52
Alibaba Cloud has a stress testing service, you can also take a look at the usage documentation