From dev-return-9768-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Sat Apr 24 14:59:02 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 60869 invoked from network); 24 Apr 2010 14:59:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Apr 2010 14:59:01 -0000 Received: (qmail 9325 invoked by uid 500); 24 Apr 2010 14:59:01 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 9220 invoked by uid 500); 24 Apr 2010 14:59:00 -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 9207 invoked by uid 99); 24 Apr 2010 14:59:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 14:59:00 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.244.253.218] (HELO mail.traeumt.net) (80.244.253.218) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 14:58:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.traeumt.net (Postfix) with ESMTP id DEC3C1B592 for ; Sat, 24 Apr 2010 16:58:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.g3th.net Received: from unknown by localhost (amavisd-new, unix socket) id UZ9Cvzt9BOQ0 for ; Sat, 24 Apr 2010 16:58:28 +0200 (CEST) Received: from [192.168.1.106] ([93.107.41.158] [93.107.41.158]) (authenticated) by mail.traeumt.net (amavisd-milter) (authenticated as web50m1); Sat, 24 Apr 2010 16:58:26 +0200 (CEST) (envelope-from ) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: overview of code organization? From: Jan Lehnardt In-Reply-To: <4BD197F0.40101@meetinghouse.net> Date: Sat, 24 Apr 2010 15:53:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <06E0F284-2F68-4DC9-8F89-90EB1FE8BE56@apache.org> References: <4BD197F0.40101@meetinghouse.net> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org On 23 Apr 2010, at 13:52, Miles Fidelman wrote: > Hi Folks, >=20 > I've been thinking of putting together some kind of broadcast = mechanism for propagating updates - but I gather that there's pretty = much no documentation of the replication protocol other than what's in = the code itself. >=20 > I wonder if anybody has pulled together, in any form, either: >=20 > - notes on the replication process (step-by-step, what happens when = replication is invoked - what code modules are involved and so forth), = and/or, I found it helpful in the past to set the CouchDB log level to debug, = start replication and watch the logs on both ends. It shows you which = HTTP requests are made and some more info. Not that this is a conclusive answer and I welcome your request for = better internal docs. We're just not there yet. That said, any help is = appreciated :) Cheers Jan -- >=20 > - an overview of the code for someone new to the project - what lives = in what modules, how they string together - anything that might shortcut = having to read through every module and make sense of things from = scratch >=20 > Anything - handwritten notes, slides from a code walkthrough, that = kind of thing. >=20 > Thanks very much, >=20 > Miles Fidelman >=20 > --=20 > In theory, there is no difference between theory and practice. > In practice, there is. .... Yogi Berra >=20 >=20