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 <[email protected]> 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
http://www.proven-corporation.com


--
Jason Smith
Proven Corporation
Bangkok, Thailand
http://www.proven-corporation.com

Reply via email to