Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by stanleydrew on Sunday January 08, 2012 @04:36AM
(#3439243)
I don't understand the references to Google in those graphs. There isn't a publicly available Google webserver is there? Or is it included simply because a lot of the most visited properties on the web are Google's?
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by jemeshsu on Sunday January 08, 2012 @04:17AM
(#3439227)
Nginx is probably eating into Apache's share rather than IIS. It is safe to say that IIS has monopoly for those using .NET stacks. For the rest, it is Apache vs Nginx.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by throwaway64 on Sunday January 08, 2012 @09:39AM
(#3439591)
The data[1] seems to suggest that Apache's market share is growing, not declining, and that IIS is infact, in decline. May have something to do with reverse http proxying, or perhaps people are just moving away from the .NET stack in general.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by asto on Sunday January 08, 2012 @04:32AM
(#3439240)
Earlier, nginx was used to handle just static content and passed the php stuff to apache httpd. These days people just use php-fpm instead so nginx can handle everything in a php based stack without needing apache.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by maratd on Sunday January 08, 2012 @10:21AM
(#3439686)
Using mod_php with Apache IS faster than PHP-FPM, however, it uses MUCH more RAM. In a RAM constrained environment like a VPS, it simply isn't an option.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by pwaring on Sunday January 08, 2012 @01:02PM
(#3440083)
The latter part is simply not true - I run Apache with mod_php for a number of sites and web services on VPS's with little RAM without any problems, and that's alongside MySQL, Exim and SpamAssassin.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by pwaring on Monday January 09, 2012 @04:30AM
(#3441919)
I don't have exact figures, but each site probably gets a few hundred hits/day, and the mail server probably gets hit every few seconds. The OP made a sweeping "not an option" statement though, not "on a popular site hosted on a VPS".
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by maratd on Monday January 09, 2012 @01:22PM
(#3443605)
Let me re-phrase. Using Apache + mod_php in a RAM constrained environment is not an option on any site that receives more than a dozen requests per second, assuming proper configuration. However, that figure is unbelievably limiting. The site can't be used for anything other than a very low traffic internal site or a dead blog. Even a tiny spike in traffic will destroy your setup. If you switch to Apache + PHP-FPM you can increase your capacity 10X with the same hardware. Literally. Most resources on a website are static and loading PHP for all of them is a pointless waste of RAM.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by asto on Sunday January 08, 2012 @10:03AM
(#3439638)
Nginx + php-fpm is MUCH faster than a vanilla apache httpd + php stack. The magic though, is not just speed. It's also the feature-set. I'm
working on a pyramid(pylons) project right now and will be using nginx to load-balance the wsgi server instances and to serve static content. I don't think I could use apache for that. The configuration for nginx looks neater as well (my personal opinion)
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by gog on Sunday January 08, 2012 @11:04AM
(#3439778)
Are you sure about that?
Benchmarks on my projects show that the difference is insignificant. Since I currently do not have memory constraints I am still using nginx + apache with mod_php.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by hkarthik on Sunday January 08, 2012 @06:03PM
(#3440807)
It's funny, I remember seeing similar numbers between IIS and Apache in the early 2000s right before the dot com bust. There's gotta be some correlation between number of new public internet sites and OSS Web Server adoption.
We've known for long time that horizontal scaling for large sites is only cost effective when you use an open source web server and aren't taking a hit for licensing.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by dhx on Sunday January 08, 2012 @07:55AM
(#3439449)
It's more useful to look at the plot for the million busiest domains. nginx places 3rd and if trends continue, may take 2nd place from IIS some time in 2013/14.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by mark_l_watson on Sunday January 08, 2012 @11:03AM
(#3439775)
I stopped using Apache and IIS years ago. Nginx is easy to setup and uses few resources on small servers. I don't do many sysadmin tasks, but this week I needed to modify my nginx setup on one of my own servers and even though I have not had to touch an nginx configuration in a long time I could do everything quickly and from memory. With Apache I would always start with the docs and/or web search.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by mcav on Sunday January 08, 2012 @12:07PM
(#3439936)
The title was "takes 2nd place". Saying the same about anything else would also be ambiguous, though I admit web servers don't have many other legit ways to take 2nd place. My first impression was that they were going to talk about performance.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by recoiledsnake on Sunday January 08, 2012 @04:02AM
(#3439210)
The metric that Apple afficionados like to tout, the profit derived metric. According to that, IIS is absolutely beating Apache and everyone else since they make billions every quarter off IIS.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS
by mike-cardwell on Sunday January 08, 2012 @07:09AM
(#3439404)
Rubbish. Not only is it completely feasible, (and easy) to use Apache as a front end server, not only is it incredibly common, but we have absolutely zero evidence that Nginx has passed Apache, and considerable evidence to the contrary. You're suffering the Hacker News bubble effect.
EDIT: BTW, I'm not an Apache fanboy. I recently moved my personal site https://grepular.com/ from Apache to Nginx. I just like using the right tools for the right job. And Apache is a great server and can be configured to perform extremely well. I've personally configured and run large server farms of Apache boxes in shared hosting environments.
EDIT: My title was also better.
[1]http://news.netcraft.com/archives/2012/01/03/january-2012-we...
Apache still blows them out of the water though.
(Ignore the pre-August data, it's before we had a real sample size.)
Benchmarks on my projects show that the difference is insignificant. Since I currently do not have memory constraints I am still using nginx + apache with mod_php.
But like I said, nginx is great for doing loads of things and I sort of "quit php" recently so I don't really care about php performance anyway.
Personally I use Nginx > PHP-FPM, so there is no other web server on the box.
IIS is still 2nd place if you look at the top one million busiest sites.
We've known for long time that horizontal scaling for large sites is only cost effective when you use an open source web server and aren't taking a hit for licensing.
http://www.codinghorror.com/blog/2009/06/scaling-up-vs-scali...
What other growth metric is there for a web-server besides market-share?
EDIT: BTW, I'm not an Apache fanboy. I recently moved my personal site https://grepular.com/ from Apache to Nginx. I just like using the right tools for the right job. And Apache is a great server and can be configured to perform extremely well. I've personally configured and run large server farms of Apache boxes in shared hosting environments.