MYMithlesh Yadavinmithlesh.hashnode.dev·Oct 1, 2021 · 2 min readExclusive lock and Shared LockBoth these locks are usually used in the Database in order to ensure control over the transactions that happen concurrently at the same time (the time gap are possibly in milliseconds). They are also used to isolate the transaction, for security rea...00