cache hit ratio

Ben Hartshorne memcache at green.hartshorne.net
Fri Jul 6 22:45:51 UTC 2007


On Thu, Jul 05, 2007 at 09:03:46AM -0700, Dustin Sallings wrote:
> 
> On Jul 5, 2007, at 8:04 , B. Keith Murphy wrote:
> 
> >I have a question that might be dumb..but I have googled and  
> >skimmed through the mailing list not finding an answer.  I have  
> >seen various postings saying something along the lines of "I have a  
> >memcached hit ratio of 90%".  How is this determined?
> 
> 	The stats output will show you this.  See get_hits and get_misses.

well, the stats don't actually show you hit ratio (they show you hits,
misses, and total gets (among other things)).  I can't tell you how
other people define hit ratio, but I report hit percentage as hits /
total gets (and graph it using ganglia).  

-ben

-- 
Ben Hartshorne
email: ben at hartshorne.net
http://ben.hartshorne.net


More information about the memcached mailing list