Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 74053 invoked from network); 17 Apr 2006 20:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2006 20:32:23 -0000 Received: (qmail 84367 invoked by uid 500); 17 Apr 2006 20:32:17 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 84272 invoked by uid 500); 17 Apr 2006 20:32:17 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 84246 invoked by uid 99); 17 Apr 2006 20:32:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 13:32:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [82.195.155.60] (HELO dochas.stdlib.net) (82.195.155.60) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 13:32:16 -0700 Received: from colmmacc by dochas.stdlib.net with local (Exim 4.50) id 1FVaQT-0007hh-D3; Mon, 17 Apr 2006 21:34:25 +0100 Date: Mon, 17 Apr 2006 21:34:25 +0100 From: Colm MacCarthaigh To: philip@invades.net Cc: dev@httpd.apache.org, coar@apache.org Subject: Re: Suggestion to significanlty improve performance of apache httpd Message-ID: <20060417203425.GA29581@dochas.stdlib.net> Reply-To: colm@stdlib.net References: <4443F7AD.1090303@Golux.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4443F7AD.1090303@Golux.Com> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hey Phil, we're always responsive to such suggestions, but I think we've beaten you to it, at least somewhat, see below for what may be useful resources. On Mon, Apr 17, 2006 at 04:16:45PM -0400, Rodent of Unusual Size wrote: > Much Better Solution: > ******************* > > * Modify Apache so that the entire header is read before the socket (or > possibly just header data) are passed to an Apache process (kind of like > a lingerd in reverse) Apache httpd 2.2 has support for kernel-level accept filters which do exactly that; http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter That way the kernel buffers the request until it's ready. > * Modify Apache so that once a worker process has generated the > response data, it passes the socket (or possibly just the response > data) back to a single process to finish off (rather like lingerd > does) See the event mpm; http://httpd.apache.org/docs/2.2/mod/event.html It is still under development, but is relatively stable and functional in non-SSL (or other situations in which input filtering is required) environments. -- Colm MacC�rthaigh Public Key: colm+pgp@stdlib.net