Preview
Once a single lock becomes the throughput bottleneck, the next scaling move in an interview is segmented locking — also called lock striping. You split the cache into N independent segments. Each segment has its own lock, map, and linked list. Keys that hash to different segme...
Sign in to read the full chapter.
Checking access…