Live data from Hacker News

Nginx reaches 33.3% web server market share while Apache falls below 50%

w3techs.com

121–130 of 190 posts

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#122
post #64
post #60

Earlier quoted context omitted.

As someone younger who never really used Apache, I don't see any reason to do anything with it instead of Nginx. Other than supporting "legacy" setups, whats the point of Nginx load balancing Apache? Configuring nginx is just so much more intuitive.

Probably a lot of mod_* uses like PHP applications that haven't been migrated to php-fpm or something, and JBoss/Tomcat/Websphere/Weblogic websites. You of course can just proxy all of these things with nginx, but it's probably not worth it for most companies.

PHP is definitely a huge chunk of the reason why nginx has taken over Apache. php-fpm with nginx is the defacto standard, and PHP is far more prevalent than a lot of people think. Apache's mod_php(X) vs. nginx+php-fpm isn't even a debate. If someone is currently using Apache+mod_php, they probably have a smaller product that will eventually have to switch to nginx+fpm in order to scale.

While I imagine PHP is the single largest reason, other languages that support or expect the use of fastcgi are also very easy to configure with nginx, whereas I can count on one hand the number of businesses I've seen using Apache's mod_fcgid.

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#124

Huh, I'm surprised Apache is still so high? Are there huge hosting sites that use it or something? Wordpress? I (and I know no one) who has reached for Apache over NGINX in a decade.

Apache has served my purposes fine. I've used nginx in some cases, mostly when it was already configured, but I personally have not yet found a strong reason to prefer one over the other (and I would suggest that this is probably another case of overblown hype, and that Apache probably continues to work perfectly fine for most use cases).

I mostly continue to use Apache because I'm more familiar with its syntax, but it sounds like nginx is popular for use cases that we've just used purpose-fit applications like haproxy to fill.

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#125

Nginx is the web server equivalent of programming languages with fibers (in a good way.) Is there anything that competes/a "next Nginx"?

I haven't followed development, but I do remember hearing some rumblings about Cherokee back in the day. [0]

[0] http://cherokee-project.com/

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#126

This is your periodical friendly reminder that Igor Sysoev, principal author of nginx, is strongly pro-Putin and anti-Ukraine. You might get a taste of his views at his personal website, http://sysoev.ru (in Russian; use Google translate). So, if such things matter to you, you might consider choosing some other web frontend.

So you are periodically chasing other person for expressing views contradicting with yours, and also messing business into it? This is simply terrible.

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#127
post #95
post #71

nginx is creating a name and market for itself as a reverse proxy, even though there are better solutions for reverse-proxies out there, everything from HAProxy to Apache Traffic Server to even Apache httpd. But this is an important market to have. Why? Because it allows for the perception that the "web runs on nginx" simply because all you see are the nginx web proxies and nothing behind that. So what are the server…

> 9 times out of 10 it is Apache httpd, and numerous instances of it at that. A lot of your post is not wrong, but that statistic is just not right at all. Less that half of the time we see apache instances behind NGINX, and it's mostly because it's legacy, and hard to move away from it. The other half of the time it's application specific web servers, or other NGINX instances. Source: Worked for Cloudflare and now w…

Of course, as someone who works for NGINX I would guess you would see more nginx behind nginx. Based on discussions with people who do Apache httpd support as well as what I've personally seen, 90% isn't that far off the mark. People like using httpd for dynamic content. A lot.

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#128
post #121

Can also be re-written as "Apache Still the dominant web platform for the internet despite the upstarts.." I Don't consciously know either server, I just like the way sites can spin facts differently.

>Can also be re-written as "Apache Still the dominant web platform for the internet despite the upstarts.."

No, it can't. That just misses the entire point of the article. The key take away from it is how much Nginx has grown in the last few years by taking share away from Apache especially those deployments that needed support of modern protocols (from the article: 76.8% of all sites supporting HTTP/2 use Nginx, while only 2.3% of those sites rely on Apache). All the others have barely made a dent.

Also read the distribution of how Nginx fares vs. Apache among the top websites. It gives a much better picture of what is happening.

>I Don't consciously know either server, I just like the way sites can spin facts differently.

Well then you really can't make the statement that it is a spin, can you?

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#129

Earlier quoted context omitted.

Would you expect someone living in Russia and being active in business to come out as anti Putin?

Yes, it is still possible, though increasingly harder to do (some of my friends expressed this explicitly and publicly). And even if it wasn't, silently doing your job is one thing — and enthusiastically supporting the current regime is another.

Although the ostracization is not coming from the government, it should be noted that many face economic deprivation for expressing their personal or political views within the United States.

Re: Nginx reaches 33.3% web server market share while Apache falls below 50%

#130
post #93

Earlier quoted context omitted.

So your total criteria for what constitutes a "better reverse proxy" isn't performance, isn't lowest latency, isn't full HTTP compliance, isn't dynamic reconfiguration, or pluggable load balancing mechanisms but rather configuration files ?? Sorry if I don't hold your opinion to that high a standard in that case.

Configuration files are important. You understand that once you have to untangle thousands upon thousands of lines of apache configuration. Luckily for me, that can pay a decent rate :D In the context of load balancing, on the performance + latency + load balancing mechanism + configuration files criteria, Apache is the worst by a huge margin compared to both HAProxy and nginx.

"performance + latency + load balancing mechanism"

Maybe 5-7 years ago then yeah... maybe. Not even close today. Apache has lowest latency and faster total transaction time based on various benchmarks. It all depends on how you are using it.

"configuration files criteria"

Got me there. But then again, 2.4 adds a LOT of ways to even streamline that, like mod_macro, mod_define, etc...

Post reply on HN