Dan Luu personal blog

Cache Eviction: When Are Randomized Algorithms Better Than LRU? (2014)

Once upon a time, my computer architecture professor mentioned that using a random eviction policy for caches really isn't so bad. That random eviction isn't bad can be surprising — if your cache fills up and you have to get rid of something, choosing the least recently used (LRU) is an obvious choice, since you're…
Points
235
HN comments
138
Submissions
4
Cited by
4 commenters

Systems & PerformanceMath & Algorithms2019

On Hacker News

SubmittedTitle on HNPointsComments
Feb 18, 2019Cache Eviction: When Are Randomized Algorithms Better Than LRU? (2014) by zwliew23542
Apr 19, 2017Cache eviction: when are randomized algorithms better than LRU? (2014) by signa1119267
Jan 22, 2024Caches: LRU vs. Random (2014) by eatonphil9226
Nov 4, 2014Cache Eviction: When Are Randomized Algorithms Better Than LRU? by luu573

Cited in comments

Linked from 4 Hacker News comments by 4 different people, from Jun 2017 to Sep 2025.

Most recent:

Search every comment that links here →

More from Dan Luu

All 102 posts →

Related posts from the same era