Compare-And-Swap: The Tiny CPU Instruction Behind Massive Scale

Despite locks being extremely efficient under low Conflicts / Contention, heavily contended locking becomes one of the major scalability…