Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 54325 invoked from network); 14 Mar 2009 13:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2009 13:12:01 -0000 Received: (qmail 70387 invoked by uid 500); 14 Mar 2009 13:11:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70351 invoked by uid 500); 14 Mar 2009 13:11:55 -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 70339 invoked by uid 99); 14 Mar 2009 13:11:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Mar 2009 06:11:55 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 14 Mar 2009 13:11:47 +0000 Received: (qmail 87183 invoked from network); 14 Mar 2009 13:11:24 -0000 Received: from 96.33.90.152 (HELO ?192.168.1.195?) (96.33.90.152) by relay03.pair.com with SMTP; 14 Mar 2009 13:11:24 -0000 X-pair-Authenticated: 96.33.90.152 Message-Id: <1FFBA351-9EDF-4E7D-88E2-FEC9C64B8269@apache.org> From: Damien Katz To: user@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Use couchdb as the data store for real-time chat room Date: Sat, 14 Mar 2009 09:11:23 -0400 References: <49BBA112.3090700@gmx.de> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Erlang's speciality is lots of concurrent users. We are planning to provide a native COMET mechanism, so clients can be notified as soon as documents they are interested are updated or created. The enhancements are for selective and near real-time replication features we are planning, but they will be useful for things like this too. -Damien On Mar 14, 2009, at 8:36 AM, howard chen wrote: > Hi, > > On Sat, Mar 14, 2009 at 8:20 PM, Sven Helmberger > wrote: > >> This sounds like it could be the main performance problem. I would >> expect >> some form of COMET or even the long request pattern to improve your >> performance. >> > > > Yes, but we are serving many concurrent users, so I don't want to hold > a persistence connection from the server to client. (we are using > Apache2/pre_fork, mod_php) > > As since our polling interval is adaptive, is it quite easy to scale > by adding servers currently. > > Howard