关于[Document-Level Optimistic Concurrency in MongoDB]的摘要:
I've had a number of projects now that have used MongoDB, and each time, I've needed to dig deep into the transaction support. But in addition to transaction support, I needed to understand the concurrency and locking models of Mongo. Unlike many other NoSQL databases, Mongo has locks at the global, database, or collection level, but not at the document level (or row-level, like SQL). If two processes read...
原文地址: https://jimmybogard.com/document-level-optimistic-concurrency-in-mongodb/