[Flask] Deploying Flask Solved With Waitress

tigernassau tigernassau at gmail.com
Wed Oct 28 10:45:22 EDT 2015


On 10/28/2015 07:27 AM, Matt Shields wrote:
> Have you tried gunicorn?

some reading showed gunicorn should not be used in lieu of uwsgi - 
something to do with threading


>
> Matt
>
> On Wed, Oct 28, 2015 at 9:16 AM, Dorian Hoxha <dorian.hoxha at gmail.com 
> <mailto:dorian.hoxha at gmail.com>> wrote:
>
>     What trouble did you have with uwsgi? Did you read this page:
>     https://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html
>
>     On Tue, Oct 27, 2015 at 8:29 PM, Corey Boyle <coreybrett at gmail.com
>     <mailto:coreybrett at gmail.com>> wrote:
>
>         I gave waitress a try today and it seems to work great at first.
>         However, I'm now noticing that I am "in-consistently" having
>         issues
>         with my CSRF token and occasionally getting logged out of the
>         web app.
>         I suspect this has something to do with how the cookies are
>         getting handled.
>
>         Has anyone else had this type of trouble with waitress?
>
>         On Mon, Oct 26, 2015 at 1:59 PM, tigernassau
>         <tigernassau at gmail.com <mailto:tigernassau at gmail.com>> wrote:
>         > Had way too much trouble with uwsgi - found Waitress - a
>         pure wsgi server
>         > this site showed how easy it is to use with Flask
>         > http://gr33ndata.blogspot.com/2012/01/waitress-flask.html
>         >
>         >
>         >
>         > Simple - in 2 minutes had Flask deployed with a simple
>         systemd script to run
>         > python3 app.py
>         >
>         > --
>         > Tiger Nassau, Inc.
>         > www.tigernassau.com <http://www.tigernassau.com>
>         >
>         > _______________________________________________
>         > Flask mailing list
>         > Flask at python.org <mailto:Flask at python.org>
>         > https://mail.python.org/mailman/listinfo/flask
>         _______________________________________________
>         Flask mailing list
>         Flask at python.org <mailto:Flask at python.org>
>         https://mail.python.org/mailman/listinfo/flask
>
>
>
>     _______________________________________________
>     Flask mailing list
>     Flask at python.org <mailto:Flask at python.org>
>     https://mail.python.org/mailman/listinfo/flask
>
>
>
>
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask


-- 
Tiger Nassau, Inc.
www.tigernassau.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20151028/e88aa5b8/attachment-0001.html>


More information about the Flask mailing list