librelist archives

« back to archive

In general, what is the best deployment option?

In general, what is the best deployment option?

From:
Rodrigo Aliste P.
Date:
2010-09-27 @ 04:34
-- 
Rodrigo Aliste P.

Re: [flask] In general, what is the best deployment option?

From:
heww0205
Date:
2010-09-27 @ 04:55
What about nginx and gevent ?

2010/9/27 Rodrigo Aliste P. <raliste@gmail.com>

>
>
> --
> Rodrigo Aliste P.
>
>

Re: [flask] In general, what is the best deployment option?

From:
Rodrigo Aliste P.
Date:
2010-09-27 @ 05:01
For what I'm reading it seems that both gevent an uwsgi will work just fine.
I will go with uwsgi and nginx first because I've found that more people are
using it with flask and other frameworks, like django and pylons, and
because I've heard that it has kick-ass perfomance.

2010/9/27 heww0205 <heww0205@gmail.com>

> What about nginx and gevent ?
>
>
> 2010/9/27 Rodrigo Aliste P. <raliste@gmail.com>
>
>>
>>
>> --
>> Rodrigo Aliste P.
>>
>>
>


-- 
Rodrigo Aliste P.

Re: [flask] In general, what is the best deployment option?

From:
Italo Maia
Date:
2010-09-27 @ 05:15
I have a deploy with cherokee and uwsgi that works pretty alright. There's
not a big gain if you use nginx instead of
cherokee<http://arnisoft.com/239/server-benchmark-apache-nginx-cherokee/>plus
cherokee has a visual admin.
Here<http://italomaia.com/2010/09/26/howto-deploy-com-django-uwsgi-e-cherokee/>you
find deploy instructions for cherokee with uwsgi and django
(portuguese,
google translate might help you here). You will only have to adapt the wsgi
script to flask. All the rest is pretty much the same.

2010/9/27 Rodrigo Aliste P. <raliste@gmail.com>

> For what I'm reading it seems that both gevent an uwsgi will work just
> fine.
> I will go with uwsgi and nginx first because I've found that more people
> are using it with flask and other frameworks, like django and pylons, and
> because I've heard that it has kick-ass perfomance.
>
> 2010/9/27 heww0205 <heww0205@gmail.com>
>
> What about nginx and gevent ?
>>
>>
>> 2010/9/27 Rodrigo Aliste P. <raliste@gmail.com>
>>
>>>
>>>
>>> --
>>> Rodrigo Aliste P.
>>>
>>>
>>
>
>
> --
> Rodrigo Aliste P.
>
>


-- 
"A arrogância é a arma dos fracos."

===========================
Italo Moreira Campelo Maia
Graduado em Ciência da Computação - UECE
Desenvolvedor WEB e Desktop (Java, Python, Lua)
Coordenador do Pug-CE
-----------------------------------------------------
http://www.italomaia.com/
http://twitter.com/italomaia/
http://eusouolobomau.blogspot.com/
-----------------------------------------------------
turtle linux 910 - http://tiny.cc/blogturtle910
===========================

Re: [flask] In general, what is the best deployment option?

From:
kevin beckford
Date:
2010-09-27 @ 05:25
On Sun, Sep 26, 2010 at 10:15 PM, Italo Maia <italo.maia@gmail.com> wrote:
> I have a deploy with cherokee and uwsgi that works pretty alright. There's
> not a big gain if you use nginx instead of cherokee plus cherokee has a
> visual admin.

nginx/cherokee not really the issue, uwsgi has hooks for both.

Re: [flask] In general, what is the best deployment option?

From:
Stephane Wirtel
Date:
2010-09-27 @ 10:43
On 09/27/2010 07:25 AM, kevin beckford wrote:
> On Sun, Sep 26, 2010 at 10:15 PM, Italo Maia <italo.maia@gmail.com> wrote:
>> I have a deploy with cherokee and uwsgi that works pretty alright. There's
>> not a big gain if you use nginx instead of cherokee plus cherokee has a
>> visual admin.
> 
> nginx/cherokee not really the issue, uwsgi has hooks for both.
I propose gunicorn and there is a flask extension for this webserver

Stéphane

Re: [flask] In general, what is the best deployment option?

From:
Dan Jacob
Date:
2010-09-27 @ 11:33
I use Apache/mod_wsgi, simply because it's the most widely used and
documented WSGI deployment out there. Gevent is a good choice if you
want to do long-polling/non-blocking stuff.

I'd really like to try out nginx + uwsgi though - I've heard a lot of
good things about it and I use nginx anyway for load-balancing/static
media, so better performance + smaller stack would be a win-win.

On 27 September 2010 11:43, Stephane Wirtel <stephane@wirtel.be> wrote:
> On 09/27/2010 07:25 AM, kevin beckford wrote:
>> On Sun, Sep 26, 2010 at 10:15 PM, Italo Maia <italo.maia@gmail.com> wrote:
>>> I have a deploy with cherokee and uwsgi that works pretty alright. There's
>>> not a big gain if you use nginx instead of cherokee plus cherokee has a
>>> visual admin.
>>
>> nginx/cherokee not really the issue, uwsgi has hooks for both.
> I propose gunicorn and there is a flask extension for this webserver
>
> Stéphane
>

Re: [flask] In general, what is the best deployment option?

From:
Thadeus Burgess
Date:
2010-09-27 @ 14:56
I much prefer apache/mod_wsgi. Its widely used. Its stable. When you
reboot Apache it makes sure to reboot the WSGI instances as well.
Overall it saves time. I don't have to keep tweaking things with it,
it just runs and I don't think twice about it.

--
Thadeus





On Mon, Sep 27, 2010 at 6:33 AM, Dan Jacob <danjac354@gmail.com> wrote:
> I use Apache/mod_wsgi, simply because it's the most widely used and
> documented WSGI deployment out there. Gevent is a good choice if you
> want to do long-polling/non-blocking stuff.
>
> I'd really like to try out nginx + uwsgi though - I've heard a lot of
> good things about it and I use nginx anyway for load-balancing/static
> media, so better performance + smaller stack would be a win-win.
>
> On 27 September 2010 11:43, Stephane Wirtel <stephane@wirtel.be> wrote:
>> On 09/27/2010 07:25 AM, kevin beckford wrote:
>>> On Sun, Sep 26, 2010 at 10:15 PM, Italo Maia <italo.maia@gmail.com> wrote:
>>>> I have a deploy with cherokee and uwsgi that works pretty alright. There's
>>>> not a big gain if you use nginx instead of cherokee plus cherokee has a
>>>> visual admin.
>>>
>>> nginx/cherokee not really the issue, uwsgi has hooks for both.
>> I propose gunicorn and there is a flask extension for this webserver
>>
>> Stéphane
>>
>

Re: [flask] In general, what is the best deployment option?

From:
kevin beckford
Date:
2010-09-27 @ 04:48
Most certainly UWSGI.

Re: [flask] In general, what is the best deployment option?

From:
Italo Maia
Date:
2010-09-27 @ 04:41
Well, i suggest with uwsgi. As flask works with wsgi, things should go
smoothly.

2010/9/27 Rodrigo Aliste P. <raliste@gmail.com>

>
>
> --
> Rodrigo Aliste P.
>
>


-- 
"A arrogância é a arma dos fracos."

===========================
Italo Moreira Campelo Maia
Graduado em Ciência da Computação - UECE
Desenvolvedor WEB e Desktop (Java, Python, Lua)
Coordenador do Pug-CE
-----------------------------------------------------
http://www.italomaia.com/
http://twitter.com/italomaia/
http://eusouolobomau.blogspot.com/
-----------------------------------------------------
turtle linux 910 - http://tiny.cc/blogturtle910
===========================