Re: mod_python vs. mod_wsgi

2008-05-12 Thread Graham Dumpleton
On May 12, 8:04 am, Pigletto <[EMAIL PROTECTED]> wrote: > > Obviously be aware that in daemon mode you will still have multithread > > issues to contend with if they run with multiple threads. To avoid it > > you would need a config such as: > > >   ... processes=5 threads=1 > > > Ie., use prefo

Re: mod_python vs. mod_wsgi

2008-05-11 Thread Pigletto
> Obviously be aware that in daemon mode you will still have multithread > issues to contend with if they run with multiple threads. To avoid it > you would need a config such as: > > ... processes=5 threads=1 > > Ie., use prefork model with mod_wgsi daemon mode. This isn't going to > get you mu

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Graham Dumpleton
> > Whether you use Apache worker MPM or not, when using mod_wsgi you can > > also use it in daemon mode. This is similar to fastcgi in the sense > > that your web application is run in separate process(es), but mod_wsgi > > will handle all the management of those processes, starting them up > >

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Graham Dumpleton
On May 9, 4:09 pm, Pigletto <[EMAIL PROTECTED]> wrote: > > If you mean compared to Apache prefork and mod_python then answer is > > yes. > > Yes > > > Even without using mod_wsgi though, one can do better than prefork > > with mod_python by using Apache worker MPM instead. Because Apache > > worke

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Pigletto
> If you mean compared to Apache prefork and mod_python then answer is > yes. Yes > Even without using mod_wsgi though, one can do better than prefork > with mod_python by using Apache worker MPM instead. Because Apache > worker MPM processes are multithreaded you don't need as many to be > runni

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Graham Dumpleton
On May 9, 5:16 am, Pigletto <[EMAIL PROTECTED]> wrote: > > The only thing thatmod_wsgiwould still give you through its daemon > > mode is the ability to isolate WSGI applications into their own > > processes so they do not interfere with each other. As I understand it > > though, WebFaction has li

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Pigletto
> The only thing that mod_wsgi would still give you through its daemon > mode is the ability to isolate WSGI applications into their own > processes so they do not interfere with each other. As I understand it > though, WebFaction has limits on the number of persistent processes > you have, thus a

Re: mod_python vs. mod_wsgi

2008-05-06 Thread Graham Dumpleton
On May 7, 7:45 am, David Zhou <[EMAIL PROTECTED]> wrote: > It works for me. Here's the body of that post: > > * Support formod_wsgi: Setting up a default Django app withmod_wsgi > is now an option in our one-click installer. So if you prefermod_wsgi > over mod_python you will no longer have to in

RE: mod_python vs. mod_wsgi

2008-05-06 Thread Bojan Ordev
users@googlegroups.com Subject: Re: mod_python vs. mod_wsgi On Tue, May 6, 2008 at 5:43 PM, Adam Fast <[EMAIL PROTECTED]> wrote: > > I'll check in the panel, but I get this when going to that URL (and > mentioned going to the main blog to find it, it's not there either): > >

Re: mod_python vs. mod_wsgi

2008-05-06 Thread Jorge Vargas
On Tue, May 6, 2008 at 5:43 PM, Adam Fast <[EMAIL PROTECTED]> wrote: > > I'll check in the panel, but I get this when going to that URL (and > mentioned going to the main blog to find it, it's not there either): > > "Not Found > > The requested URL /django-setup-improvements was not found on t

Re: mod_python vs. mod_wsgi

2008-05-06 Thread David Zhou
It works for me. Here's the body of that post: * Support for mod_wsgi: Setting up a default Django app with mod_wsgi is now an option in our one-click installer. So if you prefer mod_wsgi over mod_python you will no longer have to install it manually. I just ran a simple benchmark using "a

Re: mod_python vs. mod_wsgi

2008-05-06 Thread Adam Fast
I'll check in the panel, but I get this when going to that URL (and mentioned going to the main blog to find it, it's not there either): "Not Found The requested URL /django-setup-improvements was not found on this server.:".404 error. On Tue, May 6, 2008 at 4:35 PM, Bernd <[EMAIL PROTECT

Re: mod_python vs. mod_wsgi

2008-05-06 Thread Bernd
This is the correct link: http://blog.webfaction.com/django-setup-improvements This feature is still available in the control panel :-) On Tue, 2008-05-06 at 16:18 -0500, Adam Fast wrote: > Strangely enough, this link is now dead...and it's not mentioned at > the top of their blog either. Mayb

Re: mod_python vs. mod_wsgi

2008-05-06 Thread Adam Fast
Strangely enough, this link is now dead...and it's not mentioned at the top of their blog either. Maybe they pulled the plug? On Tue, May 6, 2008 at 2:45 PM, Brot <[EMAIL PROTECTED]> wrote: > > Hello, > > today webfaction announced (http://blog.webfaction.com/django-setup- > improvements) t

Re: mod_python vs. mod_wsgi

2008-05-06 Thread Jorge Vargas
On Tue, May 6, 2008 at 3:45 PM, Brot <[EMAIL PROTECTED]> wrote: > > Hello, > > today webfaction announced > (http://blog.webfaction.com/django-setup-improvements) that they have now a > one-click django/mod_wsgi > installer. > > What's your opinion with mod_wsgi? Is it better than mod_python

mod_python vs. mod_wsgi

2008-05-06 Thread Brot
Hello, today webfaction announced (http://blog.webfaction.com/django-setup- improvements) that they have now a one-click django/mod_wsgi installer. What's your opinion with mod_wsgi? Is it better than mod_python? What's the advantages/disadvantages? Bernd --~--~-~--~~~-