-- Rodrigo Aliste P.
What about nginx and gevent ? 2010/9/27 Rodrigo Aliste P. <raliste@gmail.com> > > > -- > Rodrigo Aliste P. > >
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.
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 ===========================
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.
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
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 >
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 >> >
Most certainly UWSGI.
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 ===========================