From user-return-23275-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Jan 17 12:55:51 2013 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B91DE45F for ; Thu, 17 Jan 2013 12:55:51 +0000 (UTC) Received: (qmail 99610 invoked by uid 500); 17 Jan 2013 12:55:50 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 99475 invoked by uid 500); 17 Jan 2013 12:55:50 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 99448 invoked by uid 99); 17 Jan 2013 12:55:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 12:55:49 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.169.146.162] (HELO mo-p00-ob.rzone.de) (81.169.146.162) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 12:55:42 +0000 X-RZG-AUTH: :K2MKY0GkfvuAYI9OvLYEA55J0qvTZZULi9CTHjqnn8/d41Z9VA5z1TAdihyFQvE= X-RZG-CLASS-ID: mo00 Received: from mail-qa0-f52.google.com ([209.85.216.52]) by smtp.strato.de (jorabe mo39) (RZmta 31.13 AUTH) with ESMTPA id q05dd3p0HBrh6I for ; Thu, 17 Jan 2013 13:55:19 +0100 (CET) Received: by mail-qa0-f52.google.com with SMTP id d13so2038032qak.18 for ; Thu, 17 Jan 2013 04:55:18 -0800 (PST) X-Received: by 10.224.185.198 with SMTP id cp6mr5489133qab.59.1358427318470; Thu, 17 Jan 2013 04:55:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.82.194 with HTTP; Thu, 17 Jan 2013 04:54:58 -0800 (PST) In-Reply-To: References: From: Daniel Gonzalez Date: Thu, 17 Jan 2013 13:54:58 +0100 Message-ID: Subject: Re: general question about couch performance To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=485b397dd677c5488204d37b8179 X-Virus-Checked: Checked by ClamAV on apache.org --485b397dd677c5488204d37b8179 Content-Type: text/plain; charset=ISO-8859-1 Are you doing single writes or batch writes? I managed to improve the write performance by collecting the documents and sending them in a single access. The same applies for read accesses. On Wed, Jan 16, 2013 at 9:17 PM, Mark Hahn wrote: > My couchdb is seeing a typical request rate of about 100/sec when it is > maxed out. This is typically 10 reads/write. This is disappointing. I > was hoping to 3 to 5 ms per op, not 10 ms. What performance numbers are > others seeing? > > I have 35 views with only 50 to 100 entries per view. My db is less than a > gigabyte with a few thousand active docs. > > I'm running on a medium ec2 instance with ephemeral disk. I assume I am IO > bound as the cpu is not maxing out. > > How much worse would this get if the db also had to handle replication > between multiple servers? > --485b397dd677c5488204d37b8179--