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 E02D0104A0 for ; Wed, 20 Nov 2013 22:36:37 +0000 (UTC) Received: (qmail 60208 invoked by uid 500); 20 Nov 2013 22:36:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60125 invoked by uid 500); 20 Nov 2013 22:36:36 -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 60117 invoked by uid 99); 20 Nov 2013 22:36:36 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 22:36:36 +0000 Received: from localhost (HELO mail-la0-f47.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 22:36:36 +0000 Received: by mail-la0-f47.google.com with SMTP id ep20so7793346lab.20 for ; Wed, 20 Nov 2013 14:36:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HqOV7FHiVFPg9lOHz3jgfD5oYiHT3c6hBmsf7CKb87o=; b=W7XE5e3EJOCaIwx6gSKBB6SqIgKFXNHcuJzXMdFKpPvEzsMh8bjTGOlty5OiWxJjja qGNuLNOJiZuW7mPwzoHRUJtzxqA2b6X3In9PVqo+tl+rJoZ7oXxiFZWKiisinoMpvC/R cqZ8auCG04848ULqQa91wRFB/R2Y1kzF+NxebRv8Oh++hUGtH1eD76etM/ux94Q2y0Hd xbUOfLSSsaLNtit4y5h7sd+Li6G57fHI7gNOcvaqohtI9L7dNa2FXzXoYd5mpesMHTVB c8VgpMTK6/RsJS2UpzDtk1BB89fCEnFVLq6xR+Hz76j2xgq00gaL1EkZaS7pbc5ccII/ grYQ== MIME-Version: 1.0 X-Received: by 10.112.55.212 with SMTP id u20mr2066668lbp.4.1384986994170; Wed, 20 Nov 2013 14:36:34 -0800 (PST) Received: by 10.112.67.12 with HTTP; Wed, 20 Nov 2013 14:36:34 -0800 (PST) In-Reply-To: <25BBCCF8CDC844A5840ED27C1E48F438@cloudant.com> References: <02EF75D6-C932-4B45-81B4-A8B13D779CD7@couchbase.com> <855F0438-E7A8-43FA-BCD9-91377B4809D2@gmail.com> <25BBCCF8CDC844A5840ED27C1E48F438@cloudant.com> Date: Wed, 20 Nov 2013 22:36:34 +0000 Message-ID: Subject: Re: Considering CouchDB From: Robert Newson To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 True, but remember couchdb doesn't automatically keep indexes fresh in the background, so "stale" can be "really really stale". ;) B. On 20 November 2013 22:34, Simon Metson wrote: > Unless your app can deal with querying the view stale. > > > On Wednesday, 20 November 2013 at 21:56, Mark Hahn wrote: > >> I meant http view requests were blocked. It is waiting for the view >> rebuild. >> >> I'm can't type what I'm thinking today. >> >> >> On Wed, Nov 20, 2013 at 1:54 PM, Mark Hahn wrote: >> >> > never mind. I wasn't talking about the file level at all. I meant that >> > http read requests are blocked after http update requests. >> > >> > >> > On Wed, Nov 20, 2013 at 1:52 PM, Robert Newson wrote: >> > >> > > "DB reads are blocked by DB updates at the http level." >> > > >> > > Nope, there's a process that can read the database and a separate one >> > > for writing to it. Writing to an append only file is obviously >> > > serialized but there's no need to block reads. >> > > >> > > B. >> > > >> > > >> > > On 20 November 2013 21:35, Mark Hahn wrote: >> > > > > Database writes are not coupled to view updates. >> > > > >> > > > >> > > > I understand now, you are talking about file read/write level. DB reads >> > > > are blocked by DB updates at the http level. >> > > > >> > > > >> > > > On Wed, Nov 20, 2013 at 1:05 PM, Robert Newson > > > > wrote: >> > > > >> > > > > "A write requires updating views and reads have to wait for the update" >> > > > > >> > > > > Is not true. Database writes are not coupled to view updates. >> > > > > >> > > > > Sent from my iPad >> > > > > >> > > > > > On 20 Nov 2013, at 20:59, Mark Hahn wrote: >> > > > > > >> > > > > > A write requires updating views and reads have >> > > > > > to wait for the update >> > > > > > >> > > > > >> > > > > >> > > > >> > > > >> > > >> > > >> > >> > >> >> >> > >