3 ms·
If you are going to test Apache at least use 2.4 in MPM-event mode so you are testing apples to apples. Using Apache 2.2 in worker mode is like comparing 8 yea
by ck2 14y ago
If you are going to test Apache at least use 2.4 in MPM-event mode so you are testing apples to apples.
Using Apache 2.2 in worker mode is like comparing 8 year old tech to modern code.
hint: Apache is still about 15-20% slower than nginx even in it's fastest mpm-event mode, but it has many more years of features and modules available - it all depends what your needs are - single site services vs multi-site webhosting
You can always do the best of both worlds by proxying apache with nginx if you need both. Takes one evening to figure out.
- niggler 14y agoIt's fair insofar as Debian still ships with 2.2 (2.4 in experimental)
- INTPenis 14y agoI wouldn't call Debian Sta(b)le fair testing. Ubuntu is a slightly better but to be truly fair you should use the latest stable production branch of each program. Or dev if that's what you're testing.
- niggler 14y agoThe parent argued that the comparison is unfair, but those are the versions you would get from Debian (apt-get install nginx-light apache2)
- j-kidd 14y agoWell, the title is "Nginx Vs Apache in AWS", not "Nginx from apt-get Vs Apache from apt-get in AWS". If you can't install the latest stable releases, then don't write a comparison about them.
- niggler 14y agoI don't know what versions are provided by the "amazon Linux AMI" (which the article cites as the image) but I would venture to guess that those are probably the standard (which would make the title apt)
- arooaroo 14y agoAnd what version of nginx does Debian ship with? I suspect it classes nginx entirely as experimental!