Re: Performance tuning tips?

2005-11-23 Thread Milton Waddams
no idea why I put it there, I tried moving it to the top, the response times went back to around 3 seconds. On 11/24/05, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > > Interesting that the session middleware was the culprit. BTW, why did you > put it at the end of your middleware list? > > The de

Re: Performance tuning tips?

2005-11-23 Thread Eugene Lazutkin
Interesting that the session middleware was the culprit. BTW, why did you put it at the end of your middleware list? The default order is: "django.middleware.sessions.SessionMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.doc.XViewMiddleware", (see htt

Re: Performance tuning tips?

2005-11-23 Thread Milton Waddams
Yes I am running openload on localhost, I don't trust my DSL enough to get accurate results :( my MIDDLEWARE_CLASSES: "django.middleware.common.CommonMiddleware", "django.middleware.doc.XViewMiddleware", "django.middleware.sessions.SessionMiddleware", I'm caching on a view by view b

Re: Performance tuning tips?

2005-11-22 Thread Eugene Lazutkin
For comparison I ran openload against my blog page (http://lazutkin.com/blog/). It is 38012 bytes at the moment. I don't know how many db transactions required to build it, but with cache it's a moot point anyway. Incidentally I use "file:" cache. The site is hosted with DreamHost --- cheap co

Re: Performance tuning tips?

2005-11-22 Thread Milton Waddams
sorry for the delay, got buried under a ton of work :( I haven't applied any patches to it (well except a couple of filters that I put into the default filters file). I switched to file based cache, results are below, sadly no great improvement. It may help to know that I'm running openload wit

Re: Performance tuning tips?

2005-11-21 Thread Eugene Lazutkin
Could you just for kicks switch to "file:" cache and run tests again? I wonder if there is a significant difference in response times. It may help us to isolate the problem. One more question: did you apply MySQL backend patch (http://code.djangoproject.com/ticket/463)? I don't think it should

Re: Performance tuning tips?

2005-11-21 Thread Milton Waddams
DOH! I thought I had listed all the important server side stuff MYSQL 4.0.24_Debian-10sarge1-log On 11/22/05, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > > Just out of curiosity: what db do you use for cache?

Re: Performance tuning tips?

2005-11-21 Thread Eugene Lazutkin
Just out of curiosity: what db do you use for cache? Thanks, Eugene "Milton Waddams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [...cut...] I'm using the db cache backend (memcached doesn't seem to want to work for me and my memory is running low enough as it is). [...cut...]

Performance tuning tips?

2005-11-21 Thread Milton Waddams
I'm having some issues with performance and wondering if there's anything I can do to speed things up. I'm using the db cache backend (memcached doesn't seem to want to work for me and my memory is running low enough as it is). The page I'm trying to speed up has a quite a bit of db interaction