News for hackers. Stuff that matters.
Re:An analysis of Facebook photo caching by lclarkmichalek on Sunday May 04, 2014 @06:17AM (#7693827)
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.

There are no comments on this comment yet.