Re: Django Performance Discoveries Part 1

2008-04-28 Thread James Matthews
Very nice article! Thanks 2008/4/28 Graham Dumpleton <[EMAIL PROTECTED]>: > > On Apr 28, 5:44 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > > Christian Vest Hansen napisał(a): > > > > > On 4/28/08, rich <[EMAIL PROTECTED]> wrote: > > >> Yes, I too am at a similar level of confusion as to when dja

Re: Django Performance Discoveries Part 1

2008-04-28 Thread Graham Dumpleton
On Apr 28, 5:44 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Christian Vest Hansen napisał(a): > > > On 4/28/08, rich <[EMAIL PROTECTED]> wrote: > >>  Yes, I too am at a similar level of confusion as to when django is not > >>  thread safe. > > > With the python GIL, is it even possible to create

Re: Django Performance Discoveries Part 1

2008-04-28 Thread Jarek Zgoda
Christian Vest Hansen napisał(a): > On 4/28/08, rich <[EMAIL PROTECTED]> wrote: >> Yes, I too am at a similar level of confusion as to when django is not >> thread safe. > > With the python GIL, is it even possible to create a python program > that isn't thread-safe? I thought that was the who

Re: Django Performance Discoveries Part 1

2008-04-28 Thread Christian Vest Hansen
On 4/28/08, rich <[EMAIL PROTECTED]> wrote: > > Yes, I too am at a similar level of confusion as to when django is not > thread safe. With the python GIL, is it even possible to create a python program that isn't thread-safe? I thought that was the whole point of having a GIL in the first place

Re: Django Performance Discoveries Part 1

2008-04-27 Thread rich
Yes, I too am at a similar level of confusion as to when django is not thread safe. I assume this could happen only if I explicitly create new threads myself, or if I use some non-django module that isn't itself thread safe. Would be fantastic if someone could clarify this! many thanks Richard

Re: Django Performance Discoveries Part 1

2008-04-27 Thread Prairie Dogg
I'm still trying to wrap my head around what the advantages of worker MPM are, I've read a couple articles that have started me down this road - the consensus view seems to be worker MPM w/ mod_wsgi is the best way to go from a memory and separtion of concerns POV, the only potential drawback bein

Re: Django Performance Discoveries Part 1

2008-04-27 Thread rich
Thanks for sharing! My setup is similar to yours except I don't use nginx at all - just another apache virtual host for media.mysite.com. Not sure which is best, but one less moving part from my point of view? I haven't done any load testing, but I really like the way mod_wsgi works; I use it in

Re: Django Performance Discoveries Part 1

2008-04-26 Thread Almir Karic
On Sun, Apr 27, 2008 at 7:16 AM, Prairie Dogg <[EMAIL PROTECTED]> wrote: > Perhaps more on this to come. yes please :-) thanks for posting it -- error: one bad user found in front of screen --~--~-~--~~~---~--~~ You received this message because you are subs

Django Performance Discoveries Part 1

2008-04-26 Thread Prairie Dogg
Hey Everybody, I've been using django for almost a year now and I've been spending some time recently trying to optimize the slicehost VPS(s) that I use to run several django sites I've developed. I wanted to share my findings with the larger group in hopes that my oversights can be pointed out