Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 70839 invoked from network); 6 Apr 2011 18:24:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2011 18:24:45 -0000 Received: (qmail 76914 invoked by uid 500); 6 Apr 2011 18:24:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 76882 invoked by uid 500); 6 Apr 2011 18:24:43 -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 76874 invoked by uid 99); 6 Apr 2011 18:24:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 18:24:43 +0000 X-ASF-Spam-Status: No, hits=3.6 required=5.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [87.118.122.180] (HELO km32901-05.keymachine.de) (87.118.122.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 18:24:35 +0000 Received: from [192.168.1.205] (stgt-5d8435a6.pool.mediaWays.net [93.132.53.166]) by km32901-05.keymachine.de (Postfix) with ESMTPSA id CA6517CCB1A; Wed, 6 Apr 2011 18:24:11 +0000 (UTC) Subject: Re: Peer-to-Peer Replication Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Christian Polzer In-Reply-To: Date: Wed, 6 Apr 2011 20:24:04 +0200 Cc: Zdravko Gligic Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org I would suggest reading this: http://guide.couchdb.org/draft/replication.html 1.) It is a key feature to CouchDB not to rely on centralized = (master-slave) replication, but you could build it with CouchDB Peer-To-Peer by definition does exclude centralized servers (well, = I think). 2.) I think if two CouchDB's cover each other, replication should work = as well, as there is just the same port in use for everything. Regards, Chris On 06.04.2011, at 20:13, Zdravko Gligic wrote: > OK, lets start with some basic questions ;) >=20 > (1) How would two CouchDB go about discovering and meeting each other? > Would this not require a central server (similar to IRC) and are > there any hosted solutions? >=20 > (2) Once at least two CouchDB's discover and meet each other, is it > just their URLs (domain name or IP based) that are needed? What about > routers and/or firewalls? >=20 > Thanks again. >=20 >=20 > On Tue, Apr 5, 2011 at 1:36 PM, Zdravko Gligic = wrote: >> Hi Folks, >>=20 >> Are there any large implementations of CouchDB peer-to-peer >> replications or even smaller open source samples? Actually, the = piece >> that I am mostly interested in is at the application/design end of = how >> to go about implementing the "traffic cop" for a use case where >> everyone is eventually synchronized with everyone else. >>=20 >> Given a large number of peers that one could replicate to/from, is >> there anything within CouchDB that can be "posted centrally" to know >> how up to date anyone is, so that badly out of date peers are >> replicate to/from the more up to date ones, instead to/from each >> other? What else should I ask, if I knew better ;?) >>=20 >> Thanks, >> Zdravko >>=20