What Statistics Would Your Cache Gather?

Posted by Stuart Herbert @ 4:08 PM, Wed 12 Apr 06

Filed under: PHP

1 Comment

I’m currently designing an additional layer of caching for Amaxus (which I now have running on Gentoo :) ) and for clickdensity. Delivering a performance boost is great, but I’d also like the cache to gather some useful information on how well it is working. The stats are partly to impress management/customers … but I’m much more interested in stats for developers.

So far, my list of stats includes the obvious stuff - hit/miss ratio, CPU & RAM saved (when compared to the uncached version of the page), and a set of counters to keep track of each reason why the cache missed. But what other stats would you find useful, if it was your code?

1 comment »

Calendar

April 2006
S M T W T F S
« Mar   May »
 1
2345678
9101112131415
16171819202122
23242526272829
30