Re:The Architecture of Open Source Applications: Nginx
by alexandrerond on Monday November 23, 2015 @06:06PM
(#10618004)
Every "new" webserver tries to fix apache configuration syntax mess, and imho they all fail. Yes, setting up a reverse proxy looks simpler with nginx or haproxy for that matter. Now when it comes to complex configurations they all suck, and I'm not sure a json/yaml config format is going to fix that as long as webservers have such wide scopes (from serving static pages, to proxying traffic, authorizing, authenticating, encrypting...). At least apache is very modular on this regard and some credit should be given to it having survived and evolved along with all the newer options.
[ Parent
| on HN ]
Re:The Architecture of Open Source Applications: Nginx
by sanderjd on Monday November 23, 2015 @06:21PM
(#10618068)
The better choice is not a new webserver program with a different, possibly better, configuration language, it's HTTP server libraries that can be used from actual programming languages to do whatever you want. Many languages ship with really good libraries these days.
Re:The Architecture of Open Source Applications: Nginx
by therein on Monday November 23, 2015 @08:01PM
(#10618493)
They indeed are shipping with really good libraries these days but no matter how good they are, there is some level of doubt that they fail to alleviate and they get deployed behind nginx or apache httpd anyway.
Re:The Architecture of Open Source Applications: Nginx
by sanderjd on Tuesday November 24, 2015 @12:17AM
(#10619237)
It seems more like they are deployed behind load balancers, because load balancing is a specific job that it makes sense to do with a separate piece of software. Admittedly, that separate piece of software is often nginx, but there are other popular options, and I don't think very many people use Apache that way (though I could be wrong).
Re:The Architecture of Open Source Applications: Nginx
by therein on Monday December 07, 2015 @06:00AM
(#10688719)
I guess I should have said Apache Traffic Server rather than httpd. Their plugins and routing configuration is getting pretty enjoyable to work with.
Re:The Architecture of Open Source Applications: Nginx
by SSLy on Tuesday November 24, 2015 @02:18AM
(#10619557)
Every third telecom around the world uses apache to load balance requests for specific application.
Source: I have to support that SW stack.
Re:The Architecture of Open Source Applications: Nginx
by sanderjd on Tuesday November 24, 2015 @11:12AM
(#10621545)
Interesting, thanks for the info!
Re:The Architecture of Open Source Applications: Nginx
by librvf on Tuesday November 24, 2015 @02:51PM
(#10623151)
> Every "new" webserver tries to fix apache configuration syntax mess, and imho they all fail.
Fail at what? What were they were trying to "fix"?
> Yes, setting up a reverse proxy looks simpler with nginx or haproxy for that matter.
People don't choose nginx and haproxy because of the configuration syntax, they choose it for performance and features.