3 ms·
> so that multiple threads accessing a missing key simultaneously[2] would only lead to a single load with all other readers waiting for the loading thread to c
by nitrogen 8y ago
> so that multiple threads accessing a missing key simultaneously[2] would only lead to a single load with all other readers waiting for the loading thread to complete
For anyone using Rails, Rails internal cache does this on expiration, but might not on initial load.