Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 20302 invoked from network); 8 Apr 2009 18:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2009 18:44:50 -0000 Received: (qmail 35575 invoked by uid 500); 8 Apr 2009 18:44:50 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 35508 invoked by uid 500); 8 Apr 2009 18:44:50 -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 35498 invoked by uid 99); 8 Apr 2009 18:44:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 18:44:50 +0000 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 paul.joseph.davis@gmail.com designates 209.85.132.249 as permitted sender) Received: from [209.85.132.249] (HELO an-out-0708.google.com) (209.85.132.249) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 18:44:43 +0000 Received: by an-out-0708.google.com with SMTP id b2so146114ana.5 for ; Wed, 08 Apr 2009 11:44:21 -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=bPYyUWx1yzDb1F0RFl8xtBmLrmxojuVIidh2IqEWnnU=; b=IZaM3sdKrET8tJ9x4sS56enL+whcdyJa8IKESFcOSMOUXOzl0I38YcbWi4yoXJR0d7 WnTvAQR940eCRT5x7kUZXuR2DJQP2IqnLwdM9J6ccYEhudvAGe/SAJYnpZNaYXf3F7Kg evG+E0uE9OHE2XG4defvbAVDwj3cM3enJXE+A= 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=imOgs4QUSf0UL1K+ndUqW77nWwnGkCQ4K1hEi7S09u/TjrN9/oYLAOkFbO2FiGseI5 K2pyvtYSK31zb9p9JppHlaqMcFMGFeLltJezqqZ4oEbBJwtfRKXbFGo3lqwiMm7Dvk+R h0L6KlY9mLH98uTxxp0niXlg5mjgj6vsLc1F8= MIME-Version: 1.0 Received: by 10.100.41.9 with SMTP id o9mr3519354ano.101.1239216261404; Wed, 08 Apr 2009 11:44:21 -0700 (PDT) In-Reply-To: <20090408181520.GA9578@gera-laptop> References: <20090408110546.GA26996@gera-laptop> <20090408181520.GA9578@gera-laptop> Date: Wed, 8 Apr 2009 14:44:21 -0400 Message-ID: Subject: Re: Document update notifications From: Paul Davis To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 8, 2009 at 2:15 PM, Devendra Gera wrote: > Hi Paul, > > Thanks for taking the time to review the patch. > > On Wed, 08 Apr 2009, Paul Davis wrote: > >> Gera, >> >> That looks like a solid patch, but unfortunately I think that the >> comet notification will end up superseding the functionality. The >> basic ideas of the comet framework are to post a JavaScript function >> to the server to allow clients to filter db updates. I'm pretty sure >> this is under active development so stay tuned for updates. > > Would the comet notifications supersede the (currently implemented) db > update notifications as well? Are there any estimates as to when that > would come around. > Pretty sure the idea is to replace the current system's functionality. I'm not sure if that means update_notification will go away or not, but from what I gather on the expected use cases it'll be a "new code should use comet" type of situation. As far as estimates, I'm not sure. I don't have too much knowledge on the current status, just that there was work being done on some necessary bits. Keep an eye on dev@ and you'll be up to date as things start building up. > I guess, what I'm trying to ask is that does the patch make sense as in > interim solution? > If you mean in trunk, I'm not sure but I doubt it. If for no other reason than if we added such a feature to trunk it'd be a signal that we intend to support it for a very long time when we're already acting on plans to replace it. > If not, we'll just keep using the patch internally (and offer it > out-of-tree) while waiting for the superseding functionality. > > Thanks, > --gera. > > HTH, Paul Davis