2010/2/13 Daniel Roseman <dan...@roseman.org.uk>

> On Feb 13, 4:50 pm, Rob Hudson <r...@cogit8.org> wrote:
> > You can telnet to memcached and run the `stats` command.  That'll tell
> > you overall hits and misses (plus other info).  If you're using
> > Django's page caching middleware, you'll see 2 hits per page because
> > Django caches both headers and page content.  The page load you should
> > see 2 misses.  Then all subsequent page loads you should see the hits
> > counter increase.
> >
> > -Rob
>
>
Thank you.
It seems it's working.
It's strange because some time requests waits 300ms to be processed
(calculated by firefox firebug plugin), and other times (few seconds after)
the same page waits 1.5seconds to begin downloading.

I'm using mod_python.

Is there a way to profile a request and understand if it's django, apache or
mysql?

I've several sites connecting to the same memcached (with 8 threads), but
together they don't do more than 2000 pageviews a day...



-- 
Alessandro Ronchi

http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source

http://hobbygiochi.com
Hobby & Giochi, l'e-commerce del divertimento

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

Reply via email to