Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 31937 invoked from network); 20 Mar 2008 17:56:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 17:56:02 -0000 Received: (qmail 18712 invoked by uid 500); 20 Mar 2008 17:56:00 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 18598 invoked by uid 500); 20 Mar 2008 17:55:59 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 18589 invoked by uid 99); 20 Mar 2008 17:55:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 10:55:59 -0700 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 jchris@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; Thu, 20 Mar 2008 17:55:19 +0000 Received: by fg-out-1718.google.com with SMTP id 22so921733fge.26 for ; Thu, 20 Mar 2008 10:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ZqGocVwqEimPdIN3J5AT1CxgNMkPge4Apuwkxyzv1LA=; b=JT6V1HgSIv/cthtxy7MCw6HHEFMCJzKw75hAkRJKo9NZ9IxooWmXijBNdHLVyiQMLLg/W3TlRwFZPAvbZH0gIp4SsJLQsDLqM8svAsgKv865QBz9ti3upp0vKhEH4ZS/Ewxr5yCrMol1fJLAS10EopocFlhzilYSA21qw6wZk6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=So60MDXrSrR3xuEstwxqa1AHMIGHmCzLFPiIePEdJVI/CJH3G+GOF/xr8OPopO4ElLbYonw6J34bTPXhBqQNvGe7zm+KxU26HSELewM79eXyg83nOT6+thRnSHY/ppwaGkvQqIIX28eWQtxnZeBObJ7D7SysYGR8KgEugL2CUG4= Received: by 10.82.148.7 with SMTP id v7mr4657324bud.37.1206035729263; Thu, 20 Mar 2008 10:55:29 -0700 (PDT) Received: by 10.86.4.8 with HTTP; Thu, 20 Mar 2008 10:55:29 -0700 (PDT) Message-ID: Date: Thu, 20 Mar 2008 10:55:29 -0700 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: IMAP IDLE and realtime views In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47E24262.50801@theopenlearningcentre.com> <6b6419750803201011o1cd7d5fje892d178dd53f64d@mail.gmail.com> X-Google-Sender-Auth: d77de1b3f4452350 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Mar 20, 2008 at 10:47 AM, Damien Katz wrote: > Triggering on view changes is going to be really difficult to get > right. It might happen in the future, but don't look for it anytime > soon. Could perhaps the problem be shunted to the view-server? For instance, there's no reason my Ruby view server can't make a Jabber or Comet notification each time it calls map() with an interesting value. If the view-server is only called on documents that have changed, then letting it handle the notification seems like the simplest route. Perhaps I am missing something here - I only know CouchDB via its external APIs... maybe Erlang someday. -- Chris Anderson http://jchris.mfdz.com