[mod_python] Performance Problem

Julien jcigar at ulb.ac.be
Thu Aug 18 07:25:02 EDT 2005


I don't think it's possible (not sure) because mod_python starts many
python instances, so mod_python cannot keep python objects ...

you could use cPicklet to serialize / deserialize (depends on usage ...)

On Thu, 2005-08-18 at 10:31 +0530, IGP wrote:
> I am accessing dbxml via my mod-python handler.
> The dbxml manager instance is created  , the container is opened and the 
> required operation
> is performed(querying , geting a document ) for each client request . 
> This is affecting the
> performance . Is there any way to enhance the performance ? I mean that 
> the XmlManager instance
> will be created only once , the container will be opened and the stored 
> in memory , so that the
> response time will decrease .
> I am using following versions of software
> 1) dbxml -  2.1.8
> 2) python - 2.3.4
> 3) mod-python - 1.3.4
> 4) apache 2.0.52
> 5) Kernel version-2.6.9-5.0.5-EL
> 
> Please do reply if you know the solution .
> Thanks in Advance,
> Regards,
> Ajinkya
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 
-- 
Julien Cigar (jcigar at ulb.ac.be)
Belgian Biodiversity Information Facility
Université Libre de Bruxelles
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
http://www.bebif.be



More information about the Mod_python mailing list