Hacker News new | ask | show | jobs
by lclarkmichalek 4434 days ago
A hit is defined as the event of "the thing I requested was in the cache". Assuming you have already put as many items as you can in your cache, with an infinite sized cache, everything will fit in the cache, so you will never have an occurrence of the event "the thing I requested was not in the cache", giving you a P(hit) of 1.

Of course, this ignores cache invalidation, population and I'm sure some other fun problems Facebook get to deal with.