Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

django on uWSGI vs SCGI (etc)...

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


oli at thepcspy

Oct 15, 2009, 9:38 PM

Post #1 of 3 (588 views)
Permalink
django on uWSGI vs SCGI (etc)...

I've just noticed the uWSGI handler. I run a lot of Django sites under
Cherokee (currently using SCGI) so I'm curious about a few things:

- Is uWSGI faster?
- Is it more efficient with system resources?
- Is it stable?
- Will it redefine the way I host Django apps?

In short, why would I want to replace my current ./manage runfcgi ...
sources with a uswgi handler?


roberto at unbit

Oct 15, 2009, 11:00 PM

Post #2 of 3 (561 views)
Permalink
Re: django on uWSGI vs SCGI (etc)... [In reply to]

On Fri, 2009-10-16 at 05:38 +0100, Oli Warner wrote:
> I've just noticed the uWSGI handler. I run a lot of Django sites under
> Cherokee (currently using SCGI) so I'm curious about a few things:
> * Is uWSGI faster?

a bit, speed is not the primary goal (as flup and other deploy
technologies already works well and there is little space for other
optimization)

> * Is it more efficient with system resources?


without the python engine, the server fit in about 4/5 pages, so it is
very resource friendly


> * Is it stable?

the server (not the cherokee handler, as it is relatively young) is used
by about 2 hundreds production ready python apps. We are an ISP
specialized in deploy technologies and resource containing.

> * Will it redefine the way I host Django apps?

I do not think. It gives you a framework/environment for deploying wsgi
apps (advanced debugging, self healing, profiling, multiapps,
timeouts ...). This is its strenght.

> In short, why would I want to replace my current ./manage runfcgi ...
> sources with a uswgi handler?
>

If you do not need the features of the uwsgi server there is no need to
change your deploy technology (we have used flup for ages without
particolary problems, but we need a more advanced environment so we
developed uwsgi and its protocol)

You find more information on the official site:

http://projects.unbit.it/uwsgi

--
Roberto De Ioris
http://unbit.it
JID: roberto [at] jabber


_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


taher at unixwars

Oct 16, 2009, 1:41 AM

Post #3 of 3 (567 views)
Permalink
Re: django on uWSGI vs SCGI (etc)... [In reply to]

FWIW, yesterday I commited a new uWSGI wizard that should configure
Cherokee according to the uWSGI project config file. As always, there's
lots of room for improvements, but check it out.

Any comments are most appreciated ;-)

Roberto De Ioris wrote:
> On Fri, 2009-10-16 at 05:38 +0100, Oli Warner wrote:
>
>> I've just noticed the uWSGI handler. I run a lot of Django sites under
>> Cherokee (currently using SCGI) so I'm curious about a few things:
>> * Is uWSGI faster?
>>
>
> a bit, speed is not the primary goal (as flup and other deploy
> technologies already works well and there is little space for other
> optimization)
>
>
>> * Is it more efficient with system resources?
>>
>
>
> without the python engine, the server fit in about 4/5 pages, so it is
> very resource friendly
>
>
>
>> * Is it stable?
>>
>
> the server (not the cherokee handler, as it is relatively young) is used
> by about 2 hundreds production ready python apps. We are an ISP
> specialized in deploy technologies and resource containing.
>
>
>> * Will it redefine the way I host Django apps?
>>
>
> I do not think. It gives you a framework/environment for deploying wsgi
> apps (advanced debugging, self healing, profiling, multiapps,
> timeouts ...). This is its strenght.
>
>
>> In short, why would I want to replace my current ./manage runfcgi ...
>> sources with a uswgi handler?
>>
>>
>
> If you do not need the features of the uwsgi server there is no need to
> change your deploy technology (we have used flup for ages without
> particolary problems, but we need a more advanced environment so we
> developed uwsgi and its protocol)
>
> You find more information on the official site:
>
> http://projects.unbit.it/uwsgi
>
>


--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.