Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04591C769 for ; Fri, 11 May 2012 06:56:24 +0000 (UTC) Received: (qmail 24419 invoked by uid 500); 11 May 2012 06:56:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 24022 invoked by uid 500); 11 May 2012 06:56:22 -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 23971 invoked by uid 99); 11 May 2012 06:56:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 06:56:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of djc.ochtman@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-we0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 06:56:13 +0000 Received: by weyt11 with SMTP id t11so234154wey.11 for ; Thu, 10 May 2012 23:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=Rik7dZPpa6MxnvHU42gQQq3NHjQ2puyFiRTshzunKnw=; b=KZIKGhVHa3htA88X2+PWtwPnw9BEsmfiFE4qMnWoh6UfVtB+ljl2XbBfQ4LWhSLoA7 DNOvJ5krWBR/BM1RPTv4XQgizftbOzpqneBESB0X33BkGQw6g0/q9v2vb6zkQcfXxT/Q +r7TPNw9slqgMut9mMrspOv1UL0NDxcIJV0/T0Rtt6kW+ichW51Rto8yveV2+SxxSjWz vhQKbkmjalTI5U7ci+N33OpgTAa6gMcqlOcj0Mr9GqFc3urrr+XGwgTWVSPzMbdHO/2q jQWqDPV0ncoTaj+5mLaIc+DOKabYuTUO9kqYhUlYwpa7Te4ctouNpXNQZafA5hvDbZq0 HwsA== Received: by 10.216.135.199 with SMTP id u49mr745046wei.7.1336719352947; Thu, 10 May 2012 23:55:52 -0700 (PDT) MIME-Version: 1.0 Sender: djc.ochtman@gmail.com Received: by 10.216.137.162 with HTTP; Thu, 10 May 2012 23:55:32 -0700 (PDT) In-Reply-To: References: From: Dirkjan Ochtman Date: Fri, 11 May 2012 08:55:32 +0200 X-Google-Sender-Auth: C3XiFWg2k4JRMnLK0G28xNqBGjk Message-ID: Subject: Re: Post-mortem To: dev@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 On Fri, May 11, 2012 at 7:56 AM, Benoit Chesneau wrote: > Anyway, Imo we need to improve some feature like M/R (having the > indexation using multiple cores), replication ,and possibilities to > monitor what happen in every part of couch. +many. We have this wonderfully scalable algorithm to do the view indexing, and then it's only used with 1 thread at a time! I've never really understood why that is (even though I understand that the algorithm being scalable doesn't help with serializing things on disk and whatever else). Also, a mode that will update all the indexes (asynchronously) on insertion/updates would probably be something we'd use. It seems to me Couch is better at read-heavy loads than at write-heavy loads, yet the index-on-access seems optimized for the latter! Cheers, Dirkjan