6 ms·
I wish there was more input as to why Apache 2.4 isn't suitable. It's been 3 years since its event driven model was released and it is a perfectly acceptable we
by davidmichael 11y ago
I wish there was more input as to why Apache 2.4 isn't suitable. It's been 3 years since its event driven model was released and it is a perfectly acceptable web server even for static content.
- Karb 11y agoApache 2.4 isn't event driven. The Apache's Even MPM only handles keep-alive connections asynchronously, while the whole request processing is still synchronous. It solves only one problem of Apache, but it still doesn't make it as scalable as nginx.
- pquerna 11y agoHi, I'm one of the main authors (along with others, it is a community driven project) of the Event MPM for Apache. On Benchmarks and timelines: I agree that 2.2+ was not widely available for many years due to the update cycle of linux distributions, but at the time nginx wasn't in the distros... so it become a thing where people would yum install apache2, get a 2-5 year old version, and they would benchmark that against an ngnix from their latest dev download. The original work for the Event MPM started around 2004: http://mail-archives.apache.org/mod_mbox/httpd-dev/200411.mbox/%3C41868F73.9010602@force-elite.com%3E http://mail-archives.apache.org/mod_mbox/httpd-dev/200411.mb... The version in 2.2 was mostly focused on Keep-Alive requests. Apache 2.2.0 was first kicked out on December 1, 2005. To go beyond Keep-Alive requests, is a set of features/patches called "Async Write Completion". Much of this work was done in 2006-2007 by Graham Leggett: https://mail-archives.apache.org/mod_mbox/httpd-dev/201510.mbox/%3C28641C04-8936-4004-BA40-C889C8B7846A@sharp.fm%3E https://mail-archives.apache.org/mod_mbox/httpd-dev/201510.m... Timing wise, most of that work did not find its way into a stable release until 2.4, which came out February 17, 2012. This is the date the article references.
- mwpmaybe 11y agoThanks for your work on Apache. Do you recommend any published benchmarks of modern Apache vs. modern Nginx?
- Karb 11y agoThere are a few benchmarks of Apache 2.4: 1. http://www.eschrade.com/page/performance-of-apache-2-4-with-the-event-mpm-compared-to-nginx/ http://www.eschrade.com/page/performance-of-apache-2-4-with-... 2. http://mondotech.blogspot.ru/2012/02/apache-24-vs-nginx-benchmark-showdown.html http://mondotech.blogspot.ru/2012/02/apache-24-vs-nginx-benc... 3. http://blog.zhuzhaoyuan.com/2012/02/apache-24-faster-than-nginx/ http://blog.zhuzhaoyuan.com/2012/02/apache-24-faster-than-ng...
- mwpmaybe 11y agoThose look to be a few years old. :-)