Quantcast

Monitoring cache usage?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Monitoring cache usage?

Roy Smith
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
[hidden email]

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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Monitoring cache usage?

Cal Leeming [Simplicity Media Ltd]
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

On Wed, Jun 20, 2012 at 4:53 PM, Roy Smith <[hidden email]> wrote:
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
[hidden email]

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


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Monitoring cache usage?

Cal Leeming [Simplicity Media Ltd]
In reply to this post by Roy Smith
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 <[hidden email]> wrote:
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
[hidden email]

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


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