Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 9534 invoked from network); 13 Dec 2008 07:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2008 07:21:27 -0000 Received: (qmail 66697 invoked by uid 500); 13 Dec 2008 07:21:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 66656 invoked by uid 500); 13 Dec 2008 07:21:38 -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 66645 invoked by uid 99); 13 Dec 2008 07:21:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 23:21:38 -0800 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=HTML_IMAGE_ONLY_16,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patcito@gmail.com designates 72.14.220.154 as permitted sender) Received: from [72.14.220.154] (HELO fg-out-1718.google.com) (72.14.220.154) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Dec 2008 07:21:18 +0000 Received: by fg-out-1718.google.com with SMTP id 13so887942fge.3 for ; Fri, 12 Dec 2008 23:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=P+w2gAxYQT2+rCdrlh09rt1wMmwa93xIISnZEb6mrWg=; b=Pv005sC2koBytIgmYEV7Vpy2DeV1PTEZ0q0awQu6VvlUPqPBP2gU09F7vUskugY+hq 1WOjXNr0MwfpNrnnQcZH+u+eGHAqY9nnjFJl0Ih2bzREAbbHajs/oISI8TKxBqkD9/LY lsjNoeQp83eon3VIJimYcg/IHEgAC+B3KoNhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=QtKRZ7/XREMvCnvc3G8O2ZTroVnho90A9ErZO0n86E8D4nkxRt8PzIvkvPwA4xxeSi FZlH49DFcRAMNocUvfLrXtuZ8yE8MkRcwfn2EIoaJcAZZkuOnx/IOyWCN/GQbk+32rGC ISF6daOqbDxfdy8TqbjNWHEysjpLNGVjB+c5s= Received: by 10.86.72.3 with SMTP id u3mr2554046fga.1.1229152856523; Fri, 12 Dec 2008 23:20:56 -0800 (PST) Received: by 10.86.23.1 with HTTP; Fri, 12 Dec 2008 23:20:56 -0800 (PST) Message-ID: <6b6419750812122320i2fa3e132m6ba11bd8f734c6eb@mail.gmail.com> Date: Sat, 13 Dec 2008 02:20:56 -0500 From: "Patrick Aljord" To: user@couchdb.apache.org Subject: partial/diff updates? In-Reply-To: <6b6419750812122306x22b2cfcejc9ae44b00cde6f66@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_55172_20496614.1229152856522" References: <41DF7DCF-E050-4A02-B6C6-100787592E2D@gmail.com> <492E43E1.6010501@silencegreys.com> <20081127095830.GF6930@tumbolia.org> <20081127114016.GH6930@tumbolia.org> <48E899BC-96E0-4528-BF65-DB0A52998E91@gmail.com> <492EDEAC.9010108@gmail.com> <12688BCC-6141-4024-96D4-2B9B522444D7@apache.org> <6b6419750812122306x22b2cfcejc9ae44b00cde6f66@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_55172_20496614.1229152856522 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Nov 27, 2008 at 1:12 PM, Jan Lehnardt wrote: > The problem is that this would be a synthetic benchmark. I'd still very > much like to > see a real world application that shows in numbers that it needs partial > updates. Partial updates would be good in the user/group/membership situation. Right now, I have to create a membership doc to store the user_id and group_id in it. If I could do partial updates, I would store all the user_ids inside a field of a group doc such as: "memberships": [user_id1, user_id2, etc] I could do this right now, but what if I want to update or delete a membership? If a group has a million users, I'd need to post the whole doc and that would definitely not scale compared to a partial update that would just send a little diff IMO. PS: I'm resending this mail to user@couchdb.apache.org ------=_Part_55172_20496614.1229152856522--