31/34
Part 8 of 8 · Follow-upsLearn
A cache that the workers share needs a lock
A Netflix candidate reported designing a multi-threaded cache (1 report). If workers share a cache of finished tables, it needs a lock, and in an LRU cache even a read is a write. The caches lesson measures what breaks without one.