Some time ago, I used several benchmark software to optimize the performance of the server software. In view of the improvement of software performance optimization, we have made corresponding improvements to the benchmark software. Recently, the benchmark software was used again for server selection. The software is as follows:
- Http_load tool used to test the Web server throughput and Load
- Webbench is a website stress testing tool in Linux. It can simulate up to 30 thousand concurrent connections to test the website's load capabilities.
By default, the two benchmark software do not have the gzip function, and our tests require the compression function. Otherwise, if the pressure is slight, the Gigabit NIC will become a bottleneck. The next transformation is to add the gzip function to the two benchmark software. The specific operations are as follows:
Http_load Tool
Before transformation
After Transformation
Webbench tools
Before transformation
After Transformation
Compared with the above two benchmarks, our transformation is to add "Accept-encoding: gzip" in the request header ". Of course, the premise is that the gzip function must be enabled on the server side. If you have such requirements, try it out.
Add gzip for Benchmark