All Questions
Dealing With Contention medium

To reduce contention, you change a single global lock to many smaller locks (e.g., locking a specific Hash Bucket instead of the whole Map). This is:

  1. A Lock Striping (Fine-grained locking).
  2. B Recursive Locking.
  3. C Deadlocking.
  4. D Priority Locking.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions