[mod_python] Re: Django-mod_python taking time loading libraries

bharath venkatesh bharathv6.project at gmail.com
Tue Dec 22 11:08:28 EST 2009


will mod wsgi in Daemon mode  solve this issue  as loading libraries and
initialising is done only once ?

On Tue, Dec 22, 2009 at 5:13 PM, bharath venkatesh <
bharathv6.project at gmail.com> wrote:

> Hi,
>
>     Django with mod python  is taking time loading libraries . I am using
> python  open source libraries like montylingua , simplejson and django is
> taking
> time loading these libraries .
>
> When django is run using python manage.py runserver first request takes
> time but rest of the requests doesn't take time ( quite fast ) ,which  is
> acceptable but when django is used along with apache and mod_python it takes
> time as much time as django takes for first request  when run using python
> manage.py runserver for almost every request.
>
> How to avoid this as our performance is greatly hindered by this behaviour
>
> is it possible to cache these external open source libraries  ?
>
> Thanks in Advance,
> Bharath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20091222/9bcbf7b3/attachment.html


More information about the Mod_python mailing list