Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 84626 invoked from network); 19 Sep 2009 12:14:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Sep 2009 12:14:37 -0000 Received: (qmail 86637 invoked by uid 500); 19 Sep 2009 12:14:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 86534 invoked by uid 500); 19 Sep 2009 12:14:35 -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 86524 invoked by uid 99); 19 Sep 2009 12:14:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 12:14:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ghosh.debasish@gmail.com designates 209.85.211.188 as permitted sender) Received: from [209.85.211.188] (HELO mail-yw0-f188.google.com) (209.85.211.188) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 12:14:26 +0000 Received: by ywh26 with SMTP id 26so2053006ywh.29 for ; Sat, 19 Sep 2009 05:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:from:date :message-id:subject:to:content-type; bh=wajZQO/zr/65I6iNgOf/3pWQFMww9gJbA+OoTA2RVJs=; b=tGimh1YTF3y1ZAo9OXtDNGbu3dtF+bXSERz0Ux1YaA8yJKG+KvyaYrZ6cZL6aLO89P 2IJunoHunK6yRY0eApHQ2tObP2LCs+mKc9TPrg2W5Q9blyzXlueaqU/IjMgX/oM3ZlVq CwhmHu1S0ASrbRbkvr8s3+cjTXRl3dke2iKEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=XYDsoHKSVeAIon/4qgNYWf/nv+daY/dgODLYZEneSig/4SCz+kNmDjy7UHLCptqpH6 Pl3aNcyzw/WMfVNbcJH68BtSgKVy+vblmsmqCWhjO7mQfRExLbcnre0Ofd5t3pxh/3Yy 5aRaGoXE6t0Bi4z0zEg3BzVW0O6cm9UX4dxzY= MIME-Version: 1.0 Received: by 10.101.162.10 with SMTP id p10mr2621770ano.92.1253362445127; Sat, 19 Sep 2009 05:14:05 -0700 (PDT) Reply-To: dghosh@acm.org From: Debasish Ghosh Date: Sat, 19 Sep 2009 17:43:45 +0530 Message-ID: <8b1c89270909190513r1494523ew6a9cb363269c3f04@mail.gmail.com> Subject: Query server perfromance issues .. To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001636ed6c42510f190473ed2f96 X-Virus-Checked: Checked by ClamAV on apache.org --001636ed6c42510f190473ed2f96 Content-Type: text/plain; charset=ISO-8859-1 Hi - As I have mentioned previously I have been working on a Scala driver for CouchDB, which also includes a Query Server. I was working with an April snapshot of 2009/04/23. This worked fine for all the views and validations that I have written.Things were running fine and I could write map/reduce and validation functions in Scala. Recently I tried to upgrade to trunk. Suddenly the views and validations became very very slow. After some fact finding, I tried to poke into * couch_query_servers.erl*, since that seemed to be the obvious area to look into. I may be worng though, but it was a blind guess. I noticed that previously I was working with *revision 749852* of the file, which delivered the goods for me. Then when I faced problems with the trunk, I started doing a git reset to earlier versions of this file. Now I find that it looks like the performance problem starts from *revision 780165* of this file. Have a look at http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_query_servers.erl?r1=780165&r2=749852&diff_format=hfor the difference. Looks like there have been some major changes. I am just wondering if this change has anything to do with the performance issue. Any help, pointer will be appreciated. Thanks. - Debasish --001636ed6c42510f190473ed2f96--