News for hackers. Stuff that matters.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by btn on Sunday January 08, 2012 @02:53AM (#3439126)
The original Netcraft article has far less filler text and contains far more information (with graphs!): http://news.netcraft.com/archives/2012/01/03/january-2012-we...
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by mike-cardwell on Sunday January 08, 2012 @07:06AM (#3439399)
I submitted the Netcraft article four days ago, and it got a measly 2 upvotes: https://news.ycombinator.com/item?id=3421864

EDIT: My title was also better.

Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by akadien on Sunday January 08, 2012 @04:45PM (#3440607)
I upvoted your comment. I hope it makes you feel better.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by mike-cardwell on Monday January 09, 2012 @07:57AM (#3442327)
I upvoted your comment to thank you for your valuable contribution.
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 justincormack on Sunday January 08, 2012 @05:42AM (#3439295)
No it is not public, but it still serves a lot of sites, which is what this measures.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by sp332 on Sunday January 08, 2012 @07:55AM (#3439450)
In the third graph, what caused the huge spike in almost every kind of server just after April last year?
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.

[1]http://news.netcraft.com/archives/2012/01/03/january-2012-we...

Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by tectonic on Sunday January 08, 2012 @04:30AM (#3439238)
According to my data, nginx and IIS have been neck and neck for months: http://underthesite.com/compare/nginx_and_microsoft-iis_and_...

Apache still blows them out of the water though.

(Ignore the pre-August data, it's before we had a real sample size.)

Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by rbanffy on Sunday January 08, 2012 @04:51PM (#3440622)
IIS and nginx are too close in this graph. It looks suspicious.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by czervik on Sunday January 08, 2012 @02:55AM (#3439129)
Isn't nginx more often than not used as a front controller for apache/tomcat/etc?
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 lhnz on Sunday January 08, 2012 @09:27AM (#3439564)
Is this faster or the same speed? There is so much FUD around this topic that I've not been able to get through.
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 JonnieCache on Sunday January 08, 2012 @07:17PM (#3440980)
What's the traffic though?
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 asto on Sunday January 08, 2012 @11:17AM (#3439810)
I remembered the benchmarks as being well in nginx's favour but it seems I was mistaken. As maratd has noted above, apache with mod_php is faster.

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.

Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by iSloth on Sunday January 08, 2012 @03:13AM (#3439151)
It can be used like that, however I am not sure if that's the most implemented method.

Personally I use Nginx > PHP-FPM, so there is no other web server on the box.

Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by grannyg00se on Sunday January 08, 2012 @02:25AM (#3439104)
That title could mean anything. They are referring to total active sites across all domains.

IIS is still 2nd place if you look at the top one million busiest sites.

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.

http://www.codinghorror.com/blog/2009/06/scaling-up-vs-scali...

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 @02:17AM (#3439091)
(in market share)
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by mahmud on Sunday January 08, 2012 @03:17AM (#3439158)
That's true. IIS still leads in Frobs per Clonq index.

What other growth metric is there for a web-server besides market-share?

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 diminish on Sunday January 08, 2012 @05:51AM (#3439301)
Good point recoiledsnake; "IIS takes most of the profits" would sound their arguments.
Re:NGINX takes 2nd place in Web Servers from Microsoft IIS by mmaunder on Sunday January 08, 2012 @06:21AM (#3439341)
In terms of traffic served Nginx has probably already passed Apache since it's not feasible to use Apache as a front end server.
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.