All Questions
Scaling Writes hard

In lock-free concurrency (e.g., utilizing Compare-And-Swap), what is the 'ABA Problem'?

  1. A Deadlock between three threads.
  2. B A thread reads Value A. Another thread changes it to B, then back to A. The first thread's CAS succeeds because it sees A, incorrectly assuming the state hasn't changed.
  3. C Memory leak.
  4. D Priority inversion.

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

Get the app

Related questions