Optimistic and Pessimistic Concurrency - A Simple Explanation

added by DotNetKicks
12/29/2016 2:12:05 PM

1 Kicks, 413 Views

I remember that this was a tricky thing for me to understand and remember when I first got started with databases, so I thought I might help someone out by explaining these in a simple way. Optimistic and pessimistic locking (or concurrency control) are ways of addressing a problem such as the following: User A...