Blogs : Optimistic Locking

10 months 3 weeks 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...
10 months 4 weeks 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 10 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...