Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 66749 invoked from network); 4 Apr 2008 17:25:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 17:25:41 -0000 Received: (qmail 3670 invoked by uid 500); 4 Apr 2008 17:25:41 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 3641 invoked by uid 500); 4 Apr 2008 17:25:41 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 3632 invoked by uid 99); 4 Apr 2008 17:25:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 10:25:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 17:24:49 +0000 Received: by wf-out-1314.google.com with SMTP id 23so173390wfg.21 for ; Fri, 04 Apr 2008 10:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Dm15V8FiesM0qX4BJMSpOkW6M26/3+xtESBcB4c9joI=; b=OT7fuHi+hcSRBD1DQFGIxzdnt47xutZ23AW2YarmaGiU6k1ehNckgAaYfIcGfxqba6i0V6BvtAtyVQdpk5RX0cZYgNPjuPw2ztqcmseMtrwKi381UofIs4GaK5cPz5l7lobWTT468zHOs7gGjGJW4zZVmN+bEzWbf5HvBSC0m30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A9qUbqztrSkxGNupc382EtjEWyHqPp7IPUMQUedGo7rg1hjeBc4CCDeqiQhbLHxmx2kx0qr028+YpLaWfDaKYKq3Bc3HMjSp2EIBconViB7vfAzfkB4AnhklY0+Z0bk50m1w+wMX6+bfQ5Yg/18ij03g5d7GUQcaxrcPGUQDulU= Received: by 10.143.6.1 with SMTP id j1mr1223504wfi.45.1207329907818; Fri, 04 Apr 2008 10:25:07 -0700 (PDT) Received: by 10.142.135.12 with HTTP; Fri, 4 Apr 2008 10:25:07 -0700 (PDT) Message-ID: Date: Fri, 4 Apr 2008 19:25:07 +0200 From: "Benoit Chesneau" To: couchdb-dev@incubator.apache.org Subject: Re: diff to make things faster on http interface with bsd* In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Apr 4, 2008 at 7:16 PM, Benoit Chesneau wrote= : > Hi, > > Here is a little patch to make things faster on http interace on > openbsd, freebsd and other free bsd especially in testing suite. > (results are 5x-7x faster). It seem that on bsd, socket.recv wait for > data until the server close the connection, wich explain why you get > slow results. If you set http header to connection:close it improve a > lot the speed. > > > - beno=EEt > seem that patch isn't in the ml (blame apache or gmail...) , so here is the direct link to it : http://babilu.metavers.net/couchdb/patch-share_www_script_couch_js.diff.txt - beno=EEt