Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 64428 invoked from network); 19 Jan 2009 08:37:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2009 08:37:17 -0000 Received: (qmail 36126 invoked by uid 500); 19 Jan 2009 08:37:16 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 36084 invoked by uid 500); 19 Jan 2009 08:37:16 -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 36073 invoked by uid 99); 19 Jan 2009 08:37:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 00:37:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ulises.cervino@gmail.com designates 209.85.218.11 as permitted sender) Received: from [209.85.218.11] (HELO mail-bw0-f11.google.com) (209.85.218.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 08:37:08 +0000 Received: by bwz4 with SMTP id 4so901378bwz.3 for ; Mon, 19 Jan 2009 00:36:48 -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 :content-transfer-encoding:content-disposition:references; bh=fX/UZHYxIYH3rupEfejUJW13XCM2v6mRhjdIC1O9NB0=; b=o/zDM6XRLJ6CB5EbSQrvlsnPNytsmjKbXCsy6c7v4iVcO3hc0a5tOlqrZl4gFUbZlz 29mMmt5aL7s8szGj5eK9zqSfpKLtMxERkYFTpI7de4UOcoGDEb51QzQZaSuKrJ4xSBna V2U4hEIqUgLdo5M3a4AI0wfN8JHDNXTgOkHsI= 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:content-transfer-encoding:content-disposition :references; b=DveKqTjbCAgX7kQrhYEYl0Y58/k0M2ifj2lJ/qkdtmEONZFzPugngbtJR0vfGewzrD DsCx2rF5woegxc5HmERdm6tJFXJpMCWFiLK3pQ1biVbknLkBQGpnA6rYzZ1L6+7wAW5T gbchB8+zq1Bkc9xKL4THwvkxry38Mq5HbZr1w= Received: by 10.223.126.69 with SMTP id b5mr1048354fas.34.1232354137219; Mon, 19 Jan 2009 00:35:37 -0800 (PST) Received: by 10.223.108.142 with HTTP; Mon, 19 Jan 2009 00:35:37 -0800 (PST) Message-ID: <226d73360901190035w47021a63p9e54459c0d6b3ea9@mail.gmail.com> Date: Mon, 19 Jan 2009 08:35:37 +0000 From: Ulises To: dev@couchdb.apache.org Subject: Re: all_seqs stream (was Re: Update notifications including update sequence) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226d73360901190021j267cb586tdf7375dbc7a94730@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org > The idea behind this is to unify the replication and standard http > client interfaces for updates streams, so for instance GET replication > (incrementally updating a db that's current as of seq 200) could work > via a request like: > > /db/_updates?since=200&include_docs=full > > And an _external that wanted to see every (or a subset) of updates > (for instance a Full Text Indexer) could use the same mechanism to > incrementally maintain an index. That's rather interesting and beg the question whether this wouldn't render _external obsolete? You could simply manage your own ex-_external as a separate process that kept this comet notification channel open. > Update streams (especially filtered ones) are one of the most powerful > tools CouchDB offers. For instance, with filtered streams, you can > very easily make docs into persistent state-machines. And the > Comet-style requests mixed with client-specified filters makes it very > easy to write event-driven browser apps. It does indeed. I'm already thinking RSS, IM Server in couchdb anybody? The options this might open are rather interesting. U