All Questions
Dealing With Contention medium

How does using Thread-Local Storage eliminate contention?

  1. A It gives each thread its own private copy of the variable, meaning no sharing and no locking is required at all.
  2. B It uses a faster lock.
  3. C It stores data in the CPU cache.
  4. D It uses the disk.

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

Get the app

Related questions