Live data from Hacker News

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

w3techs.com

21–30 of 190 posts

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

#21
post #10

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

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

Why not?

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

#22
post #5

Netcraft's web server survey shows nginx at only 20%, and shows Apache dropping below 50% way back in August 2013. That's a big difference compared to w3techs and both sources should be taken with a pinch of salt. It's the 3rd chart on: https://news.netcraft.com/archives/2017/03/24/march-2017-web... Web server market share depends a lot on which sites you're looking at: are you checking the top X million sites or che…

So, literally, Netcraft confirms Apache is dying.

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

#23
post #10

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

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

I know that one of the reasons that Apple went with XML for launchd was that you can define an XML schema for the files and validate them against that schema. IIRC, this claim was made in a HN (or Slashdot) discussion maybe 5 or 6 years ago.

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

#24

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.

Why? Nginx is not a political statement or software nor does it benefit it's author's causes in any way. With that said, use caddy. Not for political reasons, just because it's awesome. https://caddyserver.com/

It is not. This is why I ended my comment with "if such things matter to you".

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

#25
post #10

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

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

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.

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

#27
post #20

Earlier quoted context omitted.

Why? Nginx is not a political statement or software nor does it benefit it's author's causes in any way. With that said, use caddy. Not for political reasons, just because it's awesome. https://caddyserver.com/

Caddy needs a decent networking library to compete with nginx, it cannot do that with crappy net package.

My understanding is that Go's net/http package is very robust, performant and state of the art. Do you have references suggesting that it has been reviewed poorly?

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

#28
post #10

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

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.

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

#29
post #10

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

Apache configs are not XML files, they just happen to contain some square brackets.

brackets. [These are square]

And Apache config predates XML. It was designed to look like HTML, because it's a webserver I guess.

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

#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.
Post reply on HN