From user-return-7296-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Nov 03 10:28:48 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 98869 invoked from network); 3 Nov 2009 10:28:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 10:28:48 -0000 Received: (qmail 94917 invoked by uid 500); 3 Nov 2009 10:28:47 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94855 invoked by uid 500); 3 Nov 2009 10:28:46 -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 94845 invoked by uid 99); 3 Nov 2009 10:28:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 10:28:46 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.67.31.41] (HELO smtprelay07.ispgateway.de) (80.67.31.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 10:28:36 +0000 Received: from [80.67.16.116] (helo=localhost) by smtprelay07.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1N5GcZ-0008SP-Qj; Tue, 03 Nov 2009 11:28:15 +0100 Received: from proxy1.ecb.int (proxy1.ecb.int [195.128.2.68]) by webmail.df.eu (Horde Framework) with HTTP; Tue, 03 Nov 2009 11:28:15 +0100 Message-ID: <20091103112815.204461ityte0usw8@webmail.df.eu> Date: Tue, 03 Nov 2009 11:28:15 +0100 From: kosta@fillibach.de To: user@couchdb.apache.org, Sebastian Negomireanu Subject: Re: Performance issue References: <007901ca5c6a$5361af40$fa250dc0$@negomireanu@justdesign.ro> In-Reply-To: <007901ca5c6a$5361af40$fa250dc0$@negomireanu@justdesign.ro> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.2) X-Originating-IP: 195.128.2.68 X-Df-Sender: 838324 X-Virus-Checked: Checked by ClamAV on apache.org Hello, > I am encountering a big performance problem with CouchDB. I get > response times around 500ms (and sometimes more). I've tried simple > operations like adding a very minimal document (about 5 fields, a total > payload of max 0.5 KB / doc). I've also tried the operation while running it > in a loop. After 220 seconds i've only PUT 448 documents. > After running the whole thing through a profiler (to be sure that it's not > my code causing the issues), it seems the bottleneck is in the response time > from the couchdb server. Did you try batch=ok and bulk sending the documents? see http://wiki.apache.org/couchdb/HTTP_Document_API and http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API Kind regards, Kosta