couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Smith <>
Subject Re: how to ensure transactions over multiple documents?
Date Fri, 03 Apr 2009 14:28:59 GMT
Hi, Andrius.  I'm not familiar enough with Spring but yes, perhaps a 
synchronization mechanism would work there.

Andrius Juozapaitis wrote:
> Hey Jason,
> I can't seem to get my head around this. I use gwt + spring + jcouchdb
> + couchdb. I'd guess that you're suggesting serializing writes to
> couchdb in spring layer, using some kind of synchronization mechanism?
> regards,
> Andrius
> On Fri, Apr 3, 2009 at 5:08 PM, Jason Smith <> wrote:
>> Tim Parkin wrote:
>>> I'm afraid at the moment the only way of doing this is through a patch
>>> submittd by Antony Blakey which reintroduces the old transactional
>>> behaviour of bulk_docs.
>> It's been said, but the idea is that you code transactional behavior in your
>> application, using CouchDB for storage and retrieval (with atomic semantics
>> at the document level).
>> On the bright side, once you get it working, you know you won't have issues
>> when you start using CouchDB clusters.
>> I like this minimalist design.  It reminds me of how Subversion provides
>> transactional semantics on top of key/value database (Berkly the FS). It
>> seems to me that transactional behavior best belongs in a middleware layer
>> like CouchDB-Lounge.  I'd love to see some kind of proxy with its own API to
>> implement different transaction patterns.
>> --
>> Jason Smith
>> Proven Corporation
>> Bangkok, Thailand

Jason Smith
Proven Corporation
Bangkok, Thailand

View raw message