4 ms·
Skipping collection level locking and going for something more granular (like document level) would be awesome.
by davidkellis 14y ago
Skipping collection level locking and going for something more granular (like document level) would be awesome.
- tomsthumb 14y agoDon't you pretty much get document level locking by using multiple $<update> modifiers in a single query?
- apendleton 14y agoFrom an atomicity perspective, yes. From a performance perspective, no; other concurrent operations affecting anything else on the whole database wait on your write.