Hi all,

I'm running a project with a resource-intensive Django app which needs
to cache some data in memory. This means the first time it handles a
request it may take say 10s, but secondary requests take <1s. I'm
having trouble with deploying it with apache2 and mod_python, in the
sense that although consecutive requests usually show the data loaded
in memory, a few minutes later the thread is dropped and the data
needs reloading. It won't look good if users randomly browsing to the
site need to wait 10s or more for their query to return.

My first thought was: I've missed a debugging flag somewhere that
needs to be off. Here's what I roughly have:

in settings.py:
    DEBUG = False
    TEMPLATE_DEBUG = False

in apache config:
    PythonDebug Off
    PythonAutoReload Off

I've been trying to resolve this issue for a while now, but am at a
dead end. Can anyone suggest what the problem might be?

Thanks,
Lars


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

Reply via email to