Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 82910 invoked from network); 15 Jul 2009 16:29:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 16:29:35 -0000 Received: (qmail 33917 invoked by uid 500); 15 Jul 2009 16:29:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 33845 invoked by uid 500); 15 Jul 2009 16:29:44 -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 33835 invoked by uid 99); 15 Jul 2009 16:29:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 16:29:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kowsik@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-vw0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 16:29:35 +0000 Received: by vwj6 with SMTP id 6so2222073vwj.13 for ; Wed, 15 Jul 2009 09:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=c6MdToBs725t22ND5RQvPAlmViz0pFuQTdlOcHyZo1g=; b=M5ZNczWd1yKdMATu/LJiu/epEwPpIpjfuusbLcnysFSXTfr2YgmQlsF6+U9B56t8nO GrrWZ9v/uLg3NUceySOVx/3ofB6xjoKLp5MBrxLF+YEhkjzkjjCPobB+0W7dRGYjI7k/ duYLYi9wCBA1cCSrecla0xAoqi8PxPMkgs8j4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=H0koydHJRyA8kg07ivKkF1WTejDqk8bgJhi9DCQpb1nIK1AZk1uyTqMtgrhV/AIonz 4nGo9eYRBrQ6pBVGe6xmvKX2xrdH/eRuOezRkY8LFyIBBWEDHTpnJPyyqj7aRu/xrwrJ OYry+ZDMo7e0Ed7eSYVi7Pw8FFX8JVnBriYUg= MIME-Version: 1.0 Received: by 10.150.97.4 with SMTP id u4mr12800037ybb.171.1247675354437; Wed, 15 Jul 2009 09:29:14 -0700 (PDT) In-Reply-To: <55047b710907150919t435ce716q438a502be0188aec@mail.gmail.com> References: <467DF120-D9E6-4D43-99B0-E643605555C3@apache.org> <55047b710907150919t435ce716q438a502be0188aec@mail.gmail.com> Date: Wed, 15 Jul 2009 09:29:14 -0700 Message-ID: <7db9abd30907150929q592e999avb0daa3fdc82a21f0@mail.gmail.com> Subject: Re: RIP Temp Views? From: kowsik To: dev@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I like temp views. It was how I got started with couch as it was easy to experiment with the knowledge that it was going to be slow for large documents. It's possible in Futon to have a warning message (big bold blinking red font) that indicates that this is for experimentation and not for production use. Part of the problem is Futon UI doesn't tell the user about temp views. On a related note, why not spend more dev cycles parallelizing the view server to harness multiple cores to the point even the temp views scale better? I've been on this forum for a while now and until Brian recently published some concrete performance benchmarks there really haven't been much discussions (that I'm aware of) about raw couchdb view server speed (using chrome, tracemonkey, etc). As we are just approaching 0.10, I do understand that need to focus on replication, couch apps, ease of use, RESTful-ness and all the rest, while the "core" part (IMHO) has somewhat been deprioritized. This is just my observation based on the threads of discussion here. 2 cents, K. On Wed, Jul 15, 2009 at 9:19 AM, Nicholas Orr wrote: > On Thu, Jul 16, 2009 at 1:57 AM, Jan Lehnardt wrote: > >> >> If you like temp views, I'd like to take your concerns into consideration. > > > I like temp view for figuring stuff out. > I'm not at the stage where I can have thought and presto perfect map/reduce > materialises on the screen in a few keystrokes.I usually only have 10 max > documents in the db. > So have never run into the performance issues. > > After I've figured stuff out I create a proper view. > Then proceed to fill up the database > > Since I now use ruby for views its not going to be much use to me having a > js temp view emulator... > I like ruby syntax, its nice: emit(key,val) unless doc.name.nil? > > Guess when you get rid of temp views "as is" it'll just take a bit longer to > "try" stuff. > > Nick :) >