Re: low performance of FastCGI deployment

2007-03-15 Thread Atilla
On 14/03/07, Alexander Boldakov <[EMAIL PROTECTED]> wrote: > > The web pages served in my django applications are not static media > files, but dynamically generated content (the result of applying XSLT > transformation to the XML data retrieved from XML database). I > consider the architecture

Re: low performance of FastCGI deployment

2007-03-14 Thread Alexander Boldakov
The web pages served in my django applications are not static media files, but dynamically generated content (the result of applying XSLT transformation to the XML data retrieved from XML database). I consider the architecture of public site with static version of data and private dynamic site,

Re: low performance of FastCGI deployment

2007-03-14 Thread Ivan Sagalaev
Alexander Boldakov wrote: > Django deployment documentation claims the need of flup as the FastCGI > library. Are there any flup features that Django relies on? Nothing specific. Flup is recommended because it's pure Python and easier to install. Also documentation *strongly* recommends not to

Re: low performance of FastCGI deployment

2007-03-12 Thread Joseph Heck
Have you done any profiling to see where your bottlenecks are? There's a decent set of notes on profiling Django at http://code.djangoproject.com/wiki/ProfilingDjango and an even greater writeup at http://www.rkblog.rk.edu.pl/w/p/django-profiling-hotshot-and-kcachegrind/. Apache+Mod_Python and

Re: low performance of FastCGI deployment

2007-03-12 Thread Atilla
I am running a system with basically the same versions of all software packages as you are. It is in production and under stress testing it performed very very well and there've been no issues with performance so far. I am using Apache + FastCGI, server-managed. First thing you might want to

low performance of FastCGI deployment

2007-03-12 Thread Alexander Boldakov
Hello all, My django application runs slower under Apache+FastCGI or Lighttpd+FastCGI than under django development HTTP server. The approximate times for generating the page are 0.6 vs 1.0 seconds for FastCGI and development server correspondingly. I've tried different combinations of