News for hackers. Stuff that matters.
Re:Overview of new features in Apache HTTP Server 2.6 by pbowyer on Sunday November 21, 2021 @04:23AM (#29295122)
I've used Apache for over 20 years and I'm going to give you a feature it's missing: request coalescing.

My servers mostly proxy requests to a backend (PHP-FPM, but this is applicable to all other server-side languages). If m requests come in for /foo and all requests have the same cookies, Apache will pass all m requests through to the backend.

nginx instead will pass one request to the backend and then serve the response to all m requesters, reducing backend load. The setting is called proxy_cache_lock (https://nginx.org/en/docs/http/ngx_http_proxy_module.html#pr...)

With Apache I have to put other software in front of the web server (Varnish usually) that does this for me. So switching to a server where I can reduce installs to support by 50% is appealing.

There are no comments on this comment yet.