Need to Implement Transaction with couchbase
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.
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
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