Re: django cache framework not work well on mod_python of apache

2009-07-02 Thread Graham Dumpleton
If you mean fastcgi, it really depends on how you configure it. If you want a way that guarantees a single process, then use mod_wsgi and its daemon mode, ensuring you configure it to delegate Django to one daemon process. Graham On Jul 2, 4:04 pm, Hongyu Li wrote: > what

Re: django cache framework not work well on mod_python of apache

2009-07-02 Thread Hongyu Li
what about run django on lighttpd, ls it a multi process server too, or ? On Thu, Jul 2, 2009 at 11:55 AM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > Presumably use memcache. > > On Jul 2, 12:09 pm, Hongyu Li wrote: > > Thanks for your comment. > > What was

Re: django cache framework not work well on mod_python of apache

2009-07-01 Thread Graham Dumpleton
On Jul 2, 2:00 pm, Chhouk Voeun wrote: > no i use window If this reply was truly about original caching issues with multiprocess Apache, take note that it was said that it was a UNIX platform issue. On Windows there is only one process, so it is not a problem and you can

Re: django cache framework not work well on mod_python of apache

2009-07-01 Thread Chhouk Voeun
no i use window --~--~-~--~~~---~--~~ 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

Re: django cache framework not work well on mod_python of apache

2009-07-01 Thread Graham Dumpleton
Presumably use memcache. On Jul 2, 12:09 pm, Hongyu Li wrote: > Thanks for your comment. > What was you do when want add a global memory cache in your app with django? > > On Wed, Jul 1, 2009 at 8:08 PM, Graham Dumpleton > > > > > > wrote: > >

Re: django cache framework not work well on mod_python of apache

2009-07-01 Thread Hongyu Li
Thanks for your comment. What was you do when want add a global memory cache in your app with django? On Wed, Jul 1, 2009 at 8:08 PM, Graham Dumpleton wrote: > > > > On Jul 1, 7:22 pm, Hongyu Li wrote: > > #!/usr/bin/env python > > # -*-

Re: django cache framework not work well on mod_python of apache

2009-07-01 Thread Graham Dumpleton
On Jul 1, 7:22 pm, Hongyu Li wrote: > #!/usr/bin/env python > # -*- coding: utf-8     -*- > import xmlrpclib > import os > import sys > import time > import math > import optparse > import tm.filecheck > import service > from django.http import HttpResponse > from

django cache framework not work well on mod_python of apache

2009-07-01 Thread Hongyu Li
#!/usr/bin/env python # -*- coding: utf-8 -*- import xmlrpclib import os import sys import time import math import optparse import tm.filecheck import service from django.http import HttpResponse from django.core.cache import cache def getCategoryAndDetail(request): keyword =