3

I've instructed memcache to append stats to each page. Someone did an excellent job explaining the memcache reporting page. However, I've since stumbled upon this appended information shown below and am curious.

Specifically what are miss and hit status?

(enlarge picture) enter image description here

3

The hit/miss statuses are the result of the cache being touched as the result of the operation. For the given operations:

  • Get: (for a single key) Hit: data was retrieved from the cache; Miss: data was found not in the cache.
  • Set: Hit: data was stored in the cache; Miss: data was not stored in the cache.
  • GetMulti: (for multiple keys) Hit: data was retrieved in the cache; Miss: data was found not in the cache.
  • Delete: Hit: data was removed from the cache; Miss: data was not removed (for a missing key) in the cache.
  • So hits > miss is good. – Rick May 23 '15 at 13:55
  • For gets, yes, you want the hit/miss ratio to be as high as possible. – Shawn Conn May 23 '15 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.