in Future, Interesting

Notable changes in Apache 2.4 release

If you haven’t had a chance to check on the new features in the next release of Apache’s HTTPD then here is a digest. The most notable changes have been made to the core and those are KeepAliveTimeout and Loadable MPMs. One interesting change is the addition of mod_lua; lua being an embeddable scripting language that is not so popular in the Web app world. Interesting nonetheless…

In Apache 2.2, the KeepAliveTimeout directive tells Apache how many seconds ¬†it should wait for subsequent requests from the same client before it closes the connection. In Apache 2.4, KeepAliveTimeout can be specified in¬†milliseconds. If you’ve ever had to fine tune Apache, you know this is good news. It means Apache can shed and/or recycle idle threads much faster providing more bandwidth to handle more connections.

Also in Apache 2.4, you now have the option to pre-build all MPMs (like prefork, event, and worker) and then switch back and forth amongst them as needed at runtime. This is more of a convenience feature than anything else.

That’s all folks!

Write a Comment

Comment

Comment moderation is enabled. Your comment may take some time to appear.

  1. The idea is simple, a vistoir will come to the site, nginx will do one of two things which are outlined above but I will go through them again; all static content will be served with nginx but directly from the varnish cache, if a vistoir has no login session cookie then nginx will serve the page cache from Varnish, if a user does have a login session cookie Varnish will proxy the request back to Apache. ” Well I rather think to use NGINX Only here for everything, as Apache will eat up my little VPS, so i wish to set up like this :The idea is simple, a vistoir will come to the site, nginx will do one of two things :: all static content will be served with nginx but directly from the varnish cache, if a vistoir has no login session cookie then nginx will serve the page cache from Varnish, if a user does have a login session cookie Varnish will proxy the request back to NGINX.Can U share the detailed code for this.Thank you!

Webmentions

  • Apache: disable directory listing « Php Bugs September 21, 2012

    […] Notable changes in Apache 2.4 release (unixy.net) […]