Monitoring cache usage?

73 views
Skip to first unread message

Roy Smith

unread,
Jun 20, 2012, 11:53:50 AM6/20/12
to Django users
What tools exist to monitor django's cache usage? I'd like to see things like number of keys stored, total amount of memory used, hit rates broken down by key prefix, that sort of thing.

We're using django.core.cache.backends.memcached.MemcachedCache.

---
Roy Smith
r...@panix.com

Cal Leeming [Simplicity Media Ltd]

unread,
Jun 21, 2012, 7:03:04 PM6/21/12
to django...@googlegroups.com
A quick search on Google found the following:


If you use Cacti, you could also use this:


There are also other commercial services that will monitor this for you, such as Server Density.

Cal


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


Cal Leeming [Simplicity Media Ltd]

unread,
Jun 21, 2012, 7:05:21 PM6/21/12
to django...@googlegroups.com
Oh also - I'm not entire sure it's possible to break down hits based on key prefix, at least easily.

You might be able to analyse each one of the data slabs/pages/chunks, see which keys are inside, and relate that back to the number of hits against it.

The following article goes into more detail:

On Wed, Jun 20, 2012 at 4:53 PM, Roy Smith <r...@panix.com> wrote:
Reply all
Reply to author
Forward
0 new messages