Re: Django-mod_python taking time loading libraries
bharath venkatesh <[email protected]> Tue, 22 Dec 2009 21:38:28 +0530
| Newsgroups | gmane.comp.python.mod_python |
|---|---|
| Message-ID | <[email protected]> |
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