Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 35167 invoked from network); 13 Jul 2010 08:50:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 08:50:20 -0000 Received: (qmail 42563 invoked by uid 500); 13 Jul 2010 08:50:20 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 42157 invoked by uid 500); 13 Jul 2010 08:50:17 -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 42149 invoked by uid 99); 13 Jul 2010 08:50:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 08:50:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 08:50:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6D8npSC017669 for ; Tue, 13 Jul 2010 08:49:52 GMT Message-ID: <8893954.344631279010991442.JavaMail.jira@thor> Date: Tue, 13 Jul 2010 04:49:51 -0400 (EDT) From: "Martin Higham (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-390) proposed additions to _changes feed In-Reply-To: <1022002244.1245755887425.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887693#action_12887693 ] Martin Higham commented on COUCHDB-390: --------------------------------------- When implementing a system where each end user has one or more databases this is an essential feature. The alternative is to have the listener process generating large numbers of connections and having a system that adds more listeners whenever a new user account is created. I know this is the approach that node.couch.js takes but its not really scalable to large deployments > proposed additions to _changes feed > ----------------------------------- > > Key: COUCHDB-390 > URL: https://issues.apache.org/jira/browse/COUCHDB-390 > Project: CouchDB > Issue Type: New Feature > Components: HTTP Interface > Reporter: eric casteleijn > Fix For: 0.12 > > > The _changes comet feed as a replacement for the update notifications is a great step forward, but I'm currently missing these features: > 1. The feeds are now per database, rather than per server, which is nice in some use cases, but in others it's preferable to have a server wide feed (In the case of many thousands of databases on a server, and a single process reacting to updates, by putting messages on a message queue for instance). Ideally I'd like to have both server wide and per database _changes feeds available. > 2. I'd like to have a configurable _changes feed that let's me declare what data will be output in the update rows in the feed, in a similar way to writing views. > 3. I'd like to (optionally) have information on whether a particular update was a document creation, update or deletion, so clients would be able to react to those differently without needing to query into the database to find out what happened. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.