New Apache server "as fast or faster" than nginx

From http://www.serverwatch.com/server-news/ … mance.html">http://www.serverwatch.com/server-news/apache-2.4-delivers-more-performance.html

"We also show that as far as true performance is based - real-world performance as seen by the end-user- 2.4 is as fast, and even faster than some of the servers who may be "better" known as being "fast", like nginx," Jagielski said.

James

3 Replies

Nobody said that Apache was slow. If requests per second is what counts, even Apache 2.2 performs almost as well as nginx does. The real question is, how much CPU and RAM does Apache vs. nginx consume when handling an equivalent amount of traffic? The article doesn't seem to mention that, and RAM consumption is of the utmost importance for a lot of Linoders.

Apache also suffers from the lack of a simple, works-out-of-the-box FastCGI handler that lighttpd and nginx have had for a long time. Setting up Apache with PHP-FPM still feels like a dirty hack, with "AddHandler" and "Action" and all that boilerplate code. The pointless split between modfastcgi and modfcgid doesn't help, either. All of this contributes to the continued popularity of the abominable setup that is mod_php, which doesn't help Apache's reputation one bit.

Edit: The new modproxyfcgi looks like a promising way to simplify FastCGI handling in Apache.

The changelog details some of the features added: ~~[http://httpd.apache.org/docs/trunk/newfeatures24.html" target="blank">](http://httpd.apache.org/docs/trunk/new_ … s_2_4.html">http://httpd.apache.org/docs/trunk/newfeatures2_4.html](

modsed (sed against input and output), modratelimit (per Location), and modlogdebug (set log verbosity per Location or module) all look pretty cool (depending on your definition of "cool" – mod_sed looks cool in that "yikes" way.)

They've added a fcgistarter script now, and the mod_rewrite documentation looks refreshed too. Fun stuff!

I wonder how long cPanel will take to add it into the EasyApache feature in WHM…

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct