Re: Improving performance of lighttpd, flup and django-fcgi.py combo
James Bennett wrote: > On 4/6/06, jtm <[EMAIL PROTECTED]> wrote: > > Does this combination of software mean that for every request > > django is starting from scratch and having to re-import everything? > > No, pretty much the whole point of FastCGI is that you have a > long-running process which handles lots of requests, rather than > starting up and shutting down on every request. I haven't noticed any > particular speed problems with running Georg's script, but I've also > been running it on a shared hosting account that has a pretty beefy > server. That's what I figured, but the big delay at the request has me stumped. Does anybody have any hints on how I should go about finding the bottleneck? jtm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~--~~~~--~~--~--~---
Re: Improving performance of lighttpd, flup and django-fcgi.py combo
On 4/6/06, jtm <[EMAIL PROTECTED]> wrote: > Does this combination of software mean that for every request > django is starting from scratch and having to re-import everything? No, pretty much the whole point of FastCGI is that you have a long-running process which handles lots of requests, rather than starting up and shutting down on every request. I haven't noticed any particular speed problems with running Georg's script, but I've also been running it on a shared hosting account that has a pretty beefy server. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~--~~~~--~~--~--~---
Improving performance of lighttpd, flup and django-fcgi.py combo
Hi, I've just got lighttpd running under Mac OS X 10.3.9 and I am using Georg Bauer's django-fcgi.py as the dispatcher. django is .91. The machine I am running it on is, admittedly, pretty lightweight (G4 400 MHz, 832MB), but I have not seen much improvement over the development server. The pages are obviously being streamed faster once they are ready, but there is a noticeable delay at the beginning of the request. Does this combination of software mean that for every request django is starting from scratch and having to re-import everything? If yes, is there any way around this? If no, are there any hints I need that I am not going to find in the docs? regards, jtm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~--~~~~--~~--~--~---