Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 3574 invoked from network); 10 Feb 2009 00:41:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 00:41:38 -0000 Received: (qmail 38042 invoked by uid 500); 10 Feb 2009 00:41:33 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 38007 invoked by uid 500); 10 Feb 2009 00:41:33 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 37987 invoked by uid 99); 10 Feb 2009 00:41:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 16:41:33 -0800 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 paul.joseph.davis@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 00:41:25 +0000 Received: by an-out-0708.google.com with SMTP id c37so811875anc.5 for ; Mon, 09 Feb 2009 16:41:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6VX9mBWkYJY0hveQGxuviTx11euK2DMu73pLGSYmo3U=; b=InmujnnMS+VTik8cuKIOB2imHmvXBGYzy0uL2ie2mYBR8kNhM9UmHVEn20rTOwC9Ex wJ0fB4Y7XKNhicaSB/vY/TO0mhR4flLvqY0iUbBI3qc2Rn33RTVo75UKPHbLs8ugBLgy d22AP4X5dvvLEkPICOG/2pNDAPZ00DR5FUuP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=peaYdzfNfqsUeTyNvVUtASqN3M78Ixavm+Wdy5YDp8M1AHclXppgb/3MSx4F9BmM9g BQbOB1yguOjv3Hc2pGwHucv1Vofh1HaPxqslDCm+agvAy45ddv3ZDtz0JPqj1ej28ntQ TBV1cvHPTqIsNcQeo7VZpdtnvcqXuIeF4SSNE= MIME-Version: 1.0 Received: by 10.100.3.4 with SMTP id 4mr136103anc.27.1234226464834; Mon, 09 Feb 2009 16:41:04 -0800 (PST) In-Reply-To: <7736CE3C-A156-4166-A550-5A40CB9025CA@gmail.com> References: <84F66023-030A-4669-B75C-3DCC92D71A78@yahoo.com> <54602F24-6517-459F-98DB-1A934A98A3B8@gmail.com> <8CC336DF-241D-4E79-960D-763E43D4B484@apache.org> <7736CE3C-A156-4166-A550-5A40CB9025CA@gmail.com> Date: Mon, 9 Feb 2009 19:41:04 -0500 Message-ID: Subject: Re: couchdb transactions changes From: Paul Davis To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 9, 2009 at 7:23 PM, Antony Blakey wrote: > > On 10/02/2009, at 10:30 AM, Paul Davis wrote: > >> Alas it is true, if you have a system that has operating >> characteristics that involved a write load that far outweighs the read >> load > > I don't think it has to far outweigh it, just exceed it. And in any case, > that's assuming that there's a single reader. With replication you might > have many readers doing duplicate reads, which means that the effective read > rate w.r.t the write rate is divided by the number readers. > > For example consider that you have 100 replication readers. Each reader will > advance at 1/100'th the rate of a single reader. So the write rate only has > to be > 1% of the theoretical read rate to exceed the effective read > rate/progress of the individual replicators. > > And that's ignoring the fact that the effective read rate for replication is > dependent on bandwidth and connectivity e.g throughput is not the same as > raw read rate in any case. > Actually, seeing as that file system reads would get cache hits 100% of the time and your disk write throughput would be limited to 60.45% coupled with the fact that a write rate is less than 1% of the available bandwidth and if the moon is in it's third phase we can definitively prove that hand waving about numbers proves nothing. On the other hand if someone were to benchmark this then we could discuss the reality of what sustainable read/write rates CouchDB can handle. The reports I've heard about load leads me to believe that your numbers are a bit off, but I couldn't tell you without repeatable benchmarks. HTH, Paul Davis > Antony Blakey > ------------- > CTO, Linkuistics Pty Ltd > Ph: 0438 840 787 > > All that is required for evil to triumph is that good men do nothing. > > >