From dev-return-22047-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Apr 17 20:20:21 2012 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B704F9090 for ; Tue, 17 Apr 2012 20:20:21 +0000 (UTC) Received: (qmail 41428 invoked by uid 500); 17 Apr 2012 20:20:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 41395 invoked by uid 500); 17 Apr 2012 20:20:21 -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 41387 invoked by uid 99); 17 Apr 2012 20:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 20:20:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of koleto@me.com designates 17.172.220.239 as permitted sender) Received: from [17.172.220.239] (HELO st11p02mm-asmtpout004.mac.com) (17.172.220.239) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 20:20:13 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [192.168.1.4] ([146.52.12.190]) by st11p02mm-asmtp004.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0M2N009YE4H13580@st11p02mm-asmtp004.mac.com> for dev@couchdb.apache.org; Tue, 17 Apr 2012 20:19:52 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498,1.0.260,0.0.0000 definitions=2012-04-17_08:2012-04-17,2012-04-17,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 spamscore=1 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1204170230 From: Nikolai Teofilov Subject: Replication over WebSockets? Date: Tue, 17 Apr 2012 22:19:45 +0200 Message-id: <1D7391D6-5A09-4DB0-B1C9-BE0567BB9CC0@me.com> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org At the first I tough what a crazy idea but then ... Why use the WebSockets only for notification with _changes feed. Why not use the WS for realtime like streaming replication? It is fast and bidirectional and could furthermore be speedup by streaming in a binary format. Or was my first tough right? --Nikolai