How to do Document-level locking on MongoDB and .NET Core – part 1

Hi All! Today we’re going to see how MongoDB handles locks and how we can achieve Document-level locking. The default MongoDB storage engine, WiredTiger, uses optimistic concurrency control, or OCC. In a nutshell, it assumes that multiple transactions can frequently complete without interfering with each other. wikipedia This basically means...

3 minute read