Optimistic vs. Pessimistic locking
Reading Time: 2 minutes We store the information in databases so that it can be utilized later for different purposes like reading or updating. While we perform these operations on a record in a database there are good chances of conflicts or collisions. There can be two ways of dealing with such situations: Let’s try to understand these two options with an example. We will use the famous problem Continue Reading