Live data from Hacker News

Nginx vs. Apache in AWS

blog.celingest.com

31–40 of 44 posts

Re: Nginx vs. Apache in AWS

#31

"Here is a benchmark that shows the performance of a watermelon and a large canteloupe lobbed from a trebuchet using different kinds of wood and rope under different wind conditions. We tied random weights to each melon for no apparent reason." What the fuck is the point of a performance benchmark if you didn't tune any settings for performance ?

What do you mean what is the point ? The obvious assumption with all software is that it is optimised out of the box.

Optimized for what? For which circumstances? What software fits all?

Re: Nginx vs. Apache in AWS

#32

"Here is a benchmark that shows the performance of a watermelon and a large canteloupe lobbed from a trebuchet using different kinds of wood and rope under different wind conditions. We tied random weights to each melon for no apparent reason." What the fuck is the point of a performance benchmark if you didn't tune any settings for performance ?

What do you mean what is the point ? The obvious assumption with all software is that it is optimised out of the box.

If this wasn't a troll, please rest assured that most software is not optimized out of the box (especially when half the optimizing that affects the application is in the kernel)

Re: Nginx vs. Apache in AWS

#33
post #22

It's posts like this making it to the frontpage (and the inevitable comment thread) that make me sad about what HN has become. What happened to the idea of making submissions (and comments) cost karma points anyway?

Whiny comments like this make me sad, but luckily I know they don't reflect on the community as a whole.

Re: Nginx vs. Apache in AWS

#34
post #28
post #25

Earlier quoted context omitted.

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.

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)

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

#36
post #13

Earlier quoted context omitted.

And what version of nginx does Debian ship with? I suspect it classes nginx entirely as experimental!

1.2.6, which incidentally is what was used in the test.

But in Stable it's not quite that cutting edge: v0.7.63.

Re: Nginx vs. Apache in AWS

#37
post #23

Earlier quoted context omitted.

Indeed - this doesn't tell you anything. Was nginx configured well? Was apache? How much difference would it have made? Is the old apache version relevant? Pointless test, unless you intend to use those settings on that software on similar hardware.

Hell, it would have been great if they had used a real closed testbed on a local network instead of AWS. That would give you reproducible test results that aren't influenced by things like communal server resources and a communal network. Regardless, they put zero thought into what makes each application work to its peak performance and just picked two random configurations, probably based on defaults that we know to…

Call me stupid.

But maybe Apache shouldn't ship defaults that have poor performance ?

Re: Nginx vs. Apache in AWS

#38

Earlier quoted context omitted.

What do you mean what is the point ? The obvious assumption with all software is that it is optimised out of the box.

Optimized for what? For which circumstances? What software fits all?

Optimized for serving HTTP requests at a high throughput.

What possible reason is there for Apache deliberately slowing that down ?

Re: Nginx vs. Apache in AWS

#40
post #34
post #28

Earlier quoted context omitted.

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)

Both are available in the Amazon Linux AMI: httpd.x86_64 : Apache HTTP Server httpd24.x86_64 : Apache HTTP Server

Btw, there is also specially tuned Nginx AMI: https://aws.amazon.com/marketplace/pp/B00A04GAG4/
Post reply on HN