Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 73635 invoked from network); 8 Feb 2009 05:37:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2009 05:37:48 -0000 Received: (qmail 36153 invoked by uid 500); 8 Feb 2009 05:37:48 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 36121 invoked by uid 500); 8 Feb 2009 05:37:47 -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 36110 invoked by uid 99); 8 Feb 2009 05:37:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Feb 2009 21:37:47 -0800 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 antony.blakey@gmail.com designates 209.85.198.230 as permitted sender) Received: from [209.85.198.230] (HELO rv-out-0506.google.com) (209.85.198.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 05:37:40 +0000 Received: by rv-out-0506.google.com with SMTP id g37so1309779rvb.35 for ; Sat, 07 Feb 2009 21:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=R3YO8idcH+ZmIyk9vxX55Nc4LYc+SCrJEsxPxNlTiL0=; b=srwRgWlEz/61Fe513RMjJfXZ1zfF2+7DX2wEaLdueCmL6h7THUehdgxv2ImCGuOczL 7xpWT/d2ThtXMHgjIZ0pk0bMwIiKDJkjrbq7Nex9/48YqSHweP+t5tkCEbGALUXJ2ydC 2Jn0azJw42wV7mm+34naA8obczXOoA70rES1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=jhRkSpdaGgBSbBGBrgmz4j7xB5dYFNMlQ0uvkoIDWbc3p2bNyGLI+W8gCja8urzBJv p9UuZ0e5p7RaVoLZt3ZukYApAzhFWXZiqPg2cm50Y+8ycWp/DWOJQdQaH4xEIpTAF/4D TV2sapc3z0iDexn7S9+U2aJiFo8STvTzrrAu0= Received: by 10.140.193.15 with SMTP id q15mr2729276rvf.274.1234071439761; Sat, 07 Feb 2009 21:37:19 -0800 (PST) Received: from ?192.168.0.16? (ppp121-45-202-232.lns10.adl2.internode.on.net [121.45.202.232]) by mx.google.com with ESMTPS id c20sm6118988rvf.8.2009.02.07.21.37.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Feb 2009 21:37:19 -0800 (PST) Message-Id: <987B2FFD-964D-4DD8-AC8C-C9B6060D64E5@gmail.com> From: Antony Blakey To: dev@couchdb.apache.org In-Reply-To: <451872B8-152C-42A6-9324-DD52534D9A32@apache.org> 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: couchdb transactions changes Date: Sun, 8 Feb 2009 16:07:15 +1030 References: <84F66023-030A-4669-B75C-3DCC92D71A78@yahoo.com> <3B1EB33E-D224-43E2-9FDC-D7493CD5BFDD@pobox.com> <59473D22-6EA5-4CE2-A193-8F4938C2D6BB@apache.org> <82C6FE57-1BBA-4E71-BDA4-0A1522608FEC@pobox.com> <4E84FF76-444A-48F9-A6F1-837800BCB7C9@apache.org> <867439E1-D87A-4BCC-9732-94C1C6018B72@gmail.com> <13619B4B-F8F3-42F6-A18F-0ED07AFDE2D3@gmail.com> <451872B8-152C-42A6-9324-DD52534D9A32@apache.org> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On 08/02/2009, at 3:52 PM, Damien Katz wrote: > No, CouchDB replication doesn't support replicating the > transactions. Never has, never will. That's more like transaction > log replication that's in traditonal dbs, a different beast. So just to be clear, replication ignores MVCC? And there is therefore no way to achieve any form of consistency, even the weaker ACID you've proposed - which sounds like it's really only Durability. I presume it at least replicates according to update_seq? If so, would it be difficult to ensure that the update_seq that the replicator sees is always on an MVCC boundary? That would allow for transactional replication of the form I'm talking about. > For the new bulk transaction model, I'm only proposing supporting > eventual consistency. All changes are safe to disk, but the db may > not be in a consistent state right away. Or indeed, ever. >> Not necessarily, and even if they did, it's likely that they'll >> have multiple browser windows open. > > What's the front end written in? On OSX, an Objective-C app that provides an embedded Safari connecting to an embedded Ruby/Merb admin server, although I'm thinking of changing to Yaws et al. That provides a traditional OS app, with a GUI that looks like iTunes, provided via HTML. The admin app can then replicate/download web applications written in e.g. Ruby (for now) which do the real work. On Windows, something similar, I presume .NET/C++/Gecko. Discussed in the contract RFI I posted. Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. -- Douglas Adams