From user-return-16978-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jul 5 18:18:16 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5A8E4E63 for ; Tue, 5 Jul 2011 18:18:16 +0000 (UTC) Received: (qmail 84637 invoked by uid 500); 5 Jul 2011 18:18:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 84529 invoked by uid 500); 5 Jul 2011 18:18:14 -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 84512 invoked by uid 99); 5 Jul 2011 18:18:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 18:18:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of randall.leeds@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 18:18:08 +0000 Received: by iyh42 with SMTP id 42so11730723iyh.11 for ; Tue, 05 Jul 2011 11:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=wArAiz6BWmkigRVYJyfc3EK3Tytj0GE5TqqmZFPy7Ik=; b=Rfe9SDtdOYZxz9xaXeGecG76fzil9Lz4KdVAVXhmeB+nhI4f+hL/4Yjw7QVFnvDcna mBKLW02q0X7RUKt+cx/K/Jb76SozW5rhyByRZOlUX1Sh54NqpazfVnML/Dyq8WM1XM77 6Zv8VxfMTNDtlvb7ERVSgQ+LwamN1CRP1Slu8= MIME-Version: 1.0 Received: by 10.42.163.133 with SMTP id c5mr7954051icy.178.1309889867658; Tue, 05 Jul 2011 11:17:47 -0700 (PDT) Received: by 10.42.108.202 with HTTP; Tue, 5 Jul 2011 11:17:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Jul 2011 11:17:47 -0700 Message-ID: Subject: Re: few doubts From: Randall Leeds To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I like everything you've said in these last three messages which were meant to be one. :) You should make it a blog post. For real. On Tue, Jul 5, 2011 at 00:32, Zdravko Gligic wrote: > oh, i hate gmail, as it seems to react to certain key combinations ... > > Focus - It seems that CouchDB has been purposely designed with "single > mindedness in mind". =C2=A0The approach seems to be that it can be most > efficient if its various functions and its various tasks do small > amounts of work in the most efficient way possible. =C2=A0So, it would se= em > that writes keep on writing to the end of file, instead of flipping > through it and trying to over-write and update in place existing docs. > =C2=A0Again, in order to be as efficient as it can be with those writes, = it > foregoes updating the views (the same way that an RDBMS would update > all of the related indices as part of its record update) and leaves it > for another process which will concentrate on doing just that. =C2=A0So, = it > seems that "context switching" or not having to do much of such > switching is where it gets lots of it processing efficiency. > > Again, I am most anxious to see how my noob understandings check out > with technical realities. =C2=A0;) > > HTH, > teslan >