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

=?gbk?B?Y2hlbi56bA==?= chen.zl at live.cn
Tue Dec 22 12:30:25 EST 2009

thank you.
------------------ Original ------------------
From: "bharath venkatesh"<bharathv6.project at gmail.com>;
Date: 2009Äê12ÔÂ23ÈÕ(ÐÇÆÚÈý) Á賿0:38
To: "mod_python"<mod_python at modpython.org>;
Subject: [mod_python] Re: Django-mod_python taking time loading libraries

   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:

? ? 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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20091223/6dda7177/attachment.html

More information about the Mod_python mailing list