Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
corse grained lock vs fine grained lock

Abbas Zaidi

Dec 2, 2023

What is the difference between corse grained lock and fine grained lock ?

0

0

Comments
Comments
E
edgar.rokyan a year ago

Coarse-grained locks are locks with a low granularity which are acquired rarely and held for a long time. Thus they impose less load on the lock server and can survive short periods of lock server unavailability.

In opposite, fine-grained locks are locks with a high gr...

On this page