Most of the time I was searching for a simple explanation for Concurrency Control. But I didn’t get it still. Please explain what it is in simple way and if can, please mention with a example
Councurreny is where multiple users can access, modify or use the same database.
For example if 2 customers are going to purchase the same item from an online retailor such as amazon, one customer do not have to wait until the other customer has purchased the item. The reason is concurrency control. Both customers can purchase the same item at the same time as well as the purchase done by both cutomers get updated in the amazon database in real time.