Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 12812 invoked from network); 9 Mar 2010 16:48:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Mar 2010 16:48:18 -0000 Received: (qmail 94138 invoked by uid 500); 9 Mar 2010 16:47:50 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94005 invoked by uid 500); 9 Mar 2010 16:47: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 93997 invoked by uid 99); 9 Mar 2010 16:47:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 16:47:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.150.195.222] (HELO mx-smtp-02.ittvis.com) (216.150.195.222) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 16:47:49 +0000 Received: from localhost (mx-smtp-02 [127.0.0.1]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 65B3D24026 for ; Tue, 9 Mar 2010 09:13:03 -0700 (MST) Received: from mx-smtp-02.ittvis.com ([127.0.0.1]) by localhost (mx-smtp-02.ittvis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09825-07 for ; Tue, 9 Mar 2010 09:13:03 -0700 (MST) Received: from av-smtp-02.ittvis.com (av-smtp-02.ittvis.com [10.17.10.82]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 34C8F24023 for ; Tue, 9 Mar 2010 09:13:03 -0700 (MST) Received: from gemini.rsinc.com ([10.17.10.66]) by apollo.rsinc.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 9 Mar 2010 09:47:26 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Erlag View performance Date: Tue, 9 Mar 2010 09:46:24 -0700 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Erlag View performance Thread-Index: Acq731ZwoZd9YYvdSKKA0tFL3nSQggAxnangAMBq3fA= References: From: "Michael McCaffrey" To: X-OriginalArrivalTime: 09 Mar 2010 16:47:26.0999 (UTC) FILETIME=[33535270:01CABFA8] Reposting, to try and get some traction on this. Baffled as to why the view takes 10-20 times longer per record in couch than running in pure erlang environment. When each record takes almost a second, things run forever... Any help appreciated. Hello, I'm using an erlang view to fold thru large deep lists and have a performance issue. Being a relative erlang newbie I thought it was a codingsue, however... When I run thru a document locally (in Eclipse) I can fold thru the doc in 47000 micro seconds. When I fold thru the same document during the view, it takes almost a full second (900000 micro seconds). All the documents take about this long. Any thoughts on why this may be happening? Thanks