News for hackers. Stuff that matters.
Re:Nginx vs. Apache in AWS by ck2 on Tuesday February 26, 2013 @12:57PM (#5287168)
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.

Re:Nginx vs. Apache in AWS by niggler on Tuesday February 26, 2013 @01:02PM (#5287194)
It's fair insofar as Debian still ships with 2.2 (2.4 in experimental)
Re:Nginx vs. Apache in AWS by INTPenis on Tuesday February 26, 2013 @01:07PM (#5287229)
I 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.
Re:Nginx vs. Apache in AWS by niggler on Tuesday February 26, 2013 @01:10PM (#5287257)
The parent argued that the comparison is unfair, but those are the versions you would get from Debian (apt-get install nginx-light apache2)
Re:Nginx vs. Apache in AWS by j-kidd on Tuesday February 26, 2013 @02:19PM (#5287761)
Well, 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.
Re:Nginx vs. Apache in AWS by niggler on Tuesday February 26, 2013 @02:27PM (#5287812)
I 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)
Re:Nginx vs. Apache in AWS by morgo on Tuesday February 26, 2013 @02:54PM (#5288049)
Both are available in the Amazon Linux AMI:

httpd.x86_64 : Apache HTTP Server

httpd24.x86_64 : Apache HTTP Server

Re:Nginx vs. Apache in AWS by Vidart on Tuesday February 26, 2013 @04:44PM (#5288865)
Btw, there is also specially tuned Nginx AMI: https://aws.amazon.com/marketplace/pp/B00A04GAG4/
Re:Nginx vs. Apache in AWS by arooaroo on Tuesday February 26, 2013 @01:07PM (#5287230)
And what version of nginx does Debian ship with? I suspect it classes nginx entirely as experimental!
Re:Nginx vs. Apache in AWS by niggler on Tuesday February 26, 2013 @01:09PM (#5287248)
1.2.6, which incidentally is what was used in the test.
Re:Nginx vs. Apache in AWS by arooaroo on Tuesday February 26, 2013 @03:04PM (#5288152)
But in Stable it's not quite that cutting edge: v0.7.63.