Re:Re: Django-mod_python taking time loading libraries
"chen.zl" <[email protected]> Wed, 23 Dec 2009 01:30:25 +0800
| Newsgroups | gmane.comp.python.mod_python |
|---|---|
| Message-ID | <[email protected]> |
thank you. ------------------ Original ------------------ From: "bharath venkatesh"<[email protected]>; Date: 2009年12月23日(星期三) 凌晨0:38 To: "mod_python"<[email protected]>; 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 <[email protected]> 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 _______________________________________________ Mod_python mailing list [email protected] http://mailman.modpython.org/mailman/listinfo/mod_python