Live data from Hacker News

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

w3techs.com

41–50 of 190 posts

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

#41

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.

I googled around for a bit and can't find any evidence for this enthusiastic support do you have any pointers?

This besides the fact that nginx is software and software doesn't really have opinions.

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

#42

Earlier quoted context omitted.

XML should NEVER be used for configuration, not even if you're a Java or C# framework/middleware/application server.

More like _humans_ shouldn't edit XML by hands, XML has it's strong points as a machine-friendly format.

Such as? At that point might as well just use a slimmer binary format without so horribly complicated parsing rules.

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

#43
post #30

This is kind of a weird statistic to try to analyze. So many uses of nginx are just the act of putting an Apache/IIS/etc site behind nginx, so technically, both servers still have market share but you only see nginx. It's just that nginx makes it so easy to do certain things, like supporting modern HTTPS, that you might as well add it to your stack rather than replace something.

People do that? And it's widespread? I've never heard of this.

https://www.nginx.com/resources/admin-guide/reverse-proxy/

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

#44
post #30

This is kind of a weird statistic to try to analyze. So many uses of nginx are just the act of putting an Apache/IIS/etc site behind nginx, so technically, both servers still have market share but you only see nginx. It's just that nginx makes it so easy to do certain things, like supporting modern HTTPS, that you might as well add it to your stack rather than replace something.

People do that? And it's widespread? I've never heard of this.

This must be the single most common use of nginx, I'm totally blown away that someone as prolific as you has never heard of it.

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

#45
post #25

Earlier quoted context omitted.

Honestly, I think the statement, 'XML should NEVER be used, period,' is true as well: for any use case I can imagine there are superior alternatives to XML. Even if you have to interface with other services using XML, just use SXML ( https://en.wikipedia.org/wiki/SXML ) in your own code and marshal to XML at the very last instant. Ultimately, XML was a colossal mistake carried out to perfection.

I've never seen SXML before, but that looks way worse. All of Lisp's frustration of trying to match closing parens with none of Lisp's power.

As opposed to closing tags? All decent text editors have matching parens highlighting.

SXML is much easier to parse and it's more concise.

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

#47
post #43

Earlier quoted context omitted.

People do that? And it's widespread? I've never heard of this.

https://www.nginx.com/resources/admin-guide/reverse-proxy/

I know you can reverse proxy, but I haven't heard of anyone reverse proxying to apache.

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

#48
post #10

Calling it. Nginx won because it's configs are not xml. Apache should have learned by now.

Apache doesn't use XML, its configs actually predate XML.

Yes, Apache configs are confusing, but it's not due to them being in a HTML-like style, and I suspect same thing would happen even if they had similar syntax Nginx.

IMO the problem is that Apache is extremely modular and every little piece was split into a separate module. There are many modules that are pretty much essential. It doesn't help that the example Apache config then comes with many not essential modules enabled.

One time I was motivated to just have Apache run only things that are necessary. I started without any modules and each time config complained that something is missing, I read documentation about it and either enabled it, or removed from the config. It took me quite a while. And I know people (in fact that is a vast majority) who would never bother to do that. Because of that Nginx looks attractive out of the box, because by default you don't need any modules to have a basic server.

Similarly this is also the reason why people also moved from Sendmail to Postfix. Sendmail doesn't use XML but it also has a steeper learning curve to correctly configure it.

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

#49
post #43

Earlier quoted context omitted.

https://www.nginx.com/resources/admin-guide/reverse-proxy/

I know you can reverse proxy, but I haven't heard of anyone reverse proxying to apache.

It's extraordinarily common but largely unnecessary.

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

#50
post #43

Earlier quoted context omitted.

https://www.nginx.com/resources/admin-guide/reverse-proxy/

I know you can reverse proxy, but I haven't heard of anyone reverse proxying to apache.

I've done it and yeah don't do it.
Post reply on HN