7 ms·
A couple of years ago, I wrote a big bunch of scripts to benchmark about 10 web servers (Apache flavors, Lightspeed, Lighttp, nginx, etc) against each other. 3
by CoffeeDregs 15y ago
A couple of years ago, I wrote a big bunch of scripts to benchmark about 10 web servers (Apache flavors, Lightspeed, Lighttp, nginx, etc) against each other. 300 concurrent requests; 5 different types of files; measured requests per second and ending RSS. In comparison to Apache worker-MPM, nginx:
served small files about 40% faster;
served larger files about 5% more slowly and;
used 3MB instead of 30MB.
The differences weren't enough to stop me using Apache. Interestingly Apache worker-MPM and event-MPM performed nearly identically.