Blogs : Optimistic Locking

5 months 6 days ago

Optimistic Locking With Couchbase and Ruby

Concurrent modification of shared data can be a problem in any distributed system regardless of what data store you are using. With ACID-compliant relational databases, a common tactic is...
5 months 1 week ago

Optimistic Locking with Couchbase

Today I’d like to spend some time covering how to handle optimistic locking using the .NET Couchbase client. Couchbase covers optimistic locking pretty well when talking about the CAS (...
1 year 4 months ago

Optimistic or pessimistic locking - Which one should you pick?

Assume that Alice and Joe both read the same data item from Couchbase Server, then they both changed the data, and then both tried to write the new versions back to the database. Whose...