Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cache is a net benefit in perf if time saved in cache hits exceeds time lost in cache overhead.
- L = Regular lookup
- H = Cache Hit
- M = Cache Miss
- R = Cache Hit Ratio (500 lookups/100 served from cache is 20%)
- H x R + M x (1 - R) < L
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement