The ab command will create many concurrent access threads to simulate multiple visitors accessing a URL at the same time. Its test target is based on URL, so it can be used to test the load pressure of Apache, as well as the pressure of nginx, lighthttp, tomcat, IIS and other Web servers. The ab command has very low requirements on the computer issuing the load. It does not occupy a very high CPU or a lot of memory, but it will cause a huge load on the target server. Its principle is similar to CC attacks. You should also pay attention to your own testing. Otherwise, too much load at one time may cause the target server to run out of resources, or even crash in serious cases.
Principle of Apache Bench command:
The ab command will create many concurrent access threads to simulate multiple visitors accessing a URL at the same time. Its test target is based on URL, so it can be used to test the load pressure of Apache, as well as the pressure of nginx, lighthttp, tomcat, IIS and other Web servers.
The ab command has very low requirements on the computer issuing the load. It does not occupy a very high CPU or a lot of memory, but it will cause a huge load on the target server. Its principle is similar to CC attacks. You should also pay attention to your own testing. Otherwise, too much load at one time may cause the target server to run out of resources, or even crash in serious cases.
-Read the rest-