Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 75941 invoked from network); 18 Jan 2008 22:31:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2008 22:31:36 -0000 Received: (qmail 10747 invoked by uid 500); 18 Jan 2008 22:31:18 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10391 invoked by uid 500); 18 Jan 2008 22:31: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 10369 invoked by uid 99); 18 Jan 2008 22:31:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2008 14:31:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 18 Jan 2008 22:31:12 +0000 Received: (qmail 75744 invoked by uid 2161); 18 Jan 2008 22:31:03 -0000 Received: from [192.168.2.4] (euler.heimnetz.de [192.168.2.4]) by cerberus.heimnetz.de (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 3D52F1721C for ; Fri, 18 Jan 2008 23:30:51 +0100 (CET) Message-ID: <4791289A.2040802@apache.org> Date: Fri, 18 Jan 2008 23:30:50 +0100 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Is async the answer References: <20080118212909.GA32767@infiltrator.gizzard.com> In-Reply-To: <20080118212909.GA32767@infiltrator.gizzard.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 01/18/2008 10:29 PM, Colm MacCarthaigh wrote: > On Fri, Jan 18, 2008 at 04:17:16PM -0500, Akins, Brian wrote: >> For dynamic stuff, "X-sendfile" works well. (Just really starting to play >> with that, liking it so far). > > It's not a solve-all though, I mean even though CGI's or whatever > /could/ write their output to a file and then call X-sendfile, it'd be a > disaster latency-wise. Ironically enough the only way to solve that is > ... async ;-) > >> The proxy that the LiveJournal folks wrote, I think, copies all the data >> from the origin server into a file and then uses sendfile to send to the >> client... > > Erm, so does the one we wrote, mod_disk_cache ;p IMHO it doesn't for the first request of the entity (the request that causes the entity to be cached) Regards R�diger