Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 76834 invoked from network); 13 Jun 2008 09:17:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2008 09:17:01 -0000 Received: (qmail 41651 invoked by uid 500); 13 Jun 2008 09:17:03 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 41635 invoked by uid 500); 13 Jun 2008 09:17:03 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 41624 invoked by uid 99); 13 Jun 2008 09:17:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 02:17:03 -0700 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: domain of jchris@gmail.com designates 209.85.198.241 as permitted sender) Received: from [209.85.198.241] (HELO rv-out-0708.google.com) (209.85.198.241) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 09:16:12 +0000 Received: by rv-out-0708.google.com with SMTP id k29so4319735rvb.0 for ; Fri, 13 Jun 2008 02:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=VkvQqTPBE49TrTXpB4ygUgmFy/faryj6ScL2XxHEEUk=; b=mZ3tL+l9RndlJyoGPScABfxLFFavqw1rgU+j0J+Yt+3hCiN6fa6wAID86rcsaRqh7t 0DEm8Ofp9ERcnmAwhbsSPRdCjoKQA9ljq1InjDcP7svROP12yeGE8LTagA/VtrpRCOkq lm9l3jwFZwJr2uidFcPj/KVXqVS8s/dfjlri4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=gtseiTMbnY56qU6Prop5D2S3iFAh3QyUr0X5sb4YftRpFlNpUOGIDS0mS8+C4UuGmA mszAT6sI0Qe3o5NPrUbaGoXiiYO/zZoWXKspekuz8FnTdID/4M/4NOR/MAiD0gJovJbe +zTVvnvcjHi+5fTdKHYQ/woK/pERLH2ii/V+Q= Received: by 10.114.200.2 with SMTP id x2mr2762735waf.79.1213348589346; Fri, 13 Jun 2008 02:16:29 -0700 (PDT) Received: by 10.115.91.19 with HTTP; Fri, 13 Jun 2008 02:16:29 -0700 (PDT) Message-ID: Date: Fri, 13 Jun 2008 02:16:29 -0700 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: Modifying fields In-Reply-To: <7770A5DA-9B70-4C37-9075-1D3EB1E33FDF@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48516A9B.5060401@gmail.com> <48519E04.8040304@gmail.com> <567B2EFA-3E14-4A4B-9C0A-F27225B8715C@apache.org> <4851B3D9.1040403@gmail.com> <7770A5DA-9B70-4C37-9075-1D3EB1E33FDF@apache.org> X-Google-Sender-Auth: 81fa20b9c99d047c X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jun 13, 2008 at 1:53 AM, Jan Lehnardt wrote: > > On Jun 13, 2008, at 01:40, Brad Schick wrote: > >> It would be interesting to know the load on the DB of doing something >> like that inside the server versus sending and receiving all million >> documents to the client. > > You'd save all HTTP handling. So things would be faster. We are at a > point with CouchDB where we are working on getting it right and not > getting it fast or adding features for all edge cases. I'm not saying that > CouchDB will never get a feature that helps you, but it is not yet a > priority. > That might be something doable via the view server / search query / line-based json API. A job runner that you can submit jobs to wouldn't be a bad way to obviate http connection issues. Send the job to the data, they say. And then you could write job functions in any language you want. Building it as a plugin would solve the immediate issue, and allow CouchDB's core to concentrate on getting it right. Plus job runners just sound useful anyway, especially for things like functions that clone a group-reduce result to a new database for further manipulation and querying. -- Chris Anderson http://jchris.mfdz.com