Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Need to Implement Transaction with couchbase

2 replies [Last post]
  • Login or register to post comments
Mon, 01/07/2013 - 03:05
mukesh
Offline
Joined: 01/07/2013
Groups: None

We have use case where we wanted to do transactional save in couch base db and because we have an use case where we wanted to have distributed transaction.

can you suggest me how can we achieve transaction management with couch base or any other way around for the same.

Top
  • Login or register to post comments
Mon, 01/07/2013 - 09:56
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

As you know Couchbase does not support distributed transaction, so you have to build your own process for that.

You can find some ideas in the Documentation :
* Advanced Topics: http://www.couchbase.com/docs/couchbase-devguide-2.0/developing-applicat...
* Sample Pattern : http://www.couchbase.com/docs/couchbase-devguide-2.0/reserving-documents...
* Views: Simulating Transactions - http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-sampl...

So you will have to deal yourself with the status and compensation.

Let us know how you will finally deal with that it could be a good content to share with the community.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Mon, 01/07/2013 - 09:56
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

As you know Couchbase does not support distributed transaction, so you have to build your own process for that.

You can find some ideas in the Documentation :
* Advanced Topics: http://www.couchbase.com/docs/couchbase-devguide-2.0/developing-applicat...
* Sample Pattern : http://www.couchbase.com/docs/couchbase-devguide-2.0/reserving-documents...
* Views: Simulating Transactions - http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-sampl...

So you will have to deal yourself with the status and compensation.

Let us know how you will finally deal with that it could be a good content to share with the community.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker