Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 37522 invoked from network); 14 Mar 2009 12:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2009 12:37:04 -0000 Received: (qmail 53738 invoked by uid 500); 14 Mar 2009 12:36:58 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53699 invoked by uid 500); 14 Mar 2009 12:36:58 -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 53688 invoked by uid 99); 14 Mar 2009 12:36:58 -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 05:36:58 -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 howachen@gmail.com designates 209.85.198.227 as permitted sender) Received: from [209.85.198.227] (HELO rv-out-0506.google.com) (209.85.198.227) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Mar 2009 12:36:51 +0000 Received: by rv-out-0506.google.com with SMTP id f6so2018536rvb.35 for ; Sat, 14 Mar 2009 05:36:31 -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=RqEA/X461z5OaQTqX4WyPHvgatwtKC1GQEqihK42xZI=; b=UpYo0C4cfUSIvJnvHF3XkVQaMGiriGxg4m+quhIBKYknWEE7FqTsIf3B1lC17sEkP2 FbEqedHK4Lw3eJwYvLQLKf8Kk8LAJOPV6b5PifpbOgq0djJBidFimBCmqACCVc6ga9Ct CyqhDzZduF9bu6X4XfYyrx4uxqlRSHRo3LTSY= 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=TONjk4rEEqJ1EbfpcOyVRR4zti6pr8d+SLHoYP/DVLZMjegHsnN2CFxg7QROkB8e59 b6kP4urir7CaC7KjMs9Ba0eaUm/+NIi9TbawDcqCfl6xyDo3VhsQhTxceHgJOP/u5m9A Wrd0+ySVn35aEOzDOdoyI/x/eVDJztbVksPB0= MIME-Version: 1.0 Received: by 10.114.176.1 with SMTP id y1mr1701014wae.120.1237034191404; Sat, 14 Mar 2009 05:36:31 -0700 (PDT) In-Reply-To: <49BBA112.3090700@gmx.de> References: <49BBA112.3090700@gmx.de> Date: Sat, 14 Mar 2009 20:36:31 +0800 Message-ID: Subject: Re: Use couchdb as the data store for real-time chat room From: howard chen To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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