[Flask] How to truely asynchronize a Flask application

Ziirish ziirish at ziirish.info
Wed Jan 4 11:11:56 EST 2017


* On Wednesday, January 04, 2017 at 06:04 PM +0200, Christof Verdonck <hcmr.verdonck.christof at gmail.com> wrote:
> Dear
> 
> 
> First of all, thank you for the quick reply.
> 
> Ok, I will try out a few of them.
> 
> Do you have any preferences between them?

http://flask.pocoo.org/docs/0.12/deploying/wsgi-standalone/#gunicorn

Gunicorn is plug&play with Flask so you can go ahead.

> 
> 
> Yours Sincerely
> 
> 
> Christos
> 
> 
> On Wed, Jan 4, 2017 at 5:44 PM, Corey Boyle <coreybrett at gmail.com> wrote:
> 
> > http://flask.pocoo.org/docs/0.12/deploying/
> >
> > On Wed, Jan 4, 2017 at 10:36 AM, Christof Verdonck
> > <hcmr.verdonck.christof at gmail.com> wrote:
> > > Dear
> > >
> > >
> > > I developed a Flask web application, which while testing,
> > > did exactly what I expected from it.
> > >
> > > But now that we want to access this application (which performs
> > long-lasting
> > > queries to the database)
> > > with multiple users, I realize that the Flask, he way I have used
> > it,works
> > > as a blocking server.
> > >
> > > As I am new to both Python and Flask development,
> > > I wonder if someone guide me on how I could
> > > make this application run in an a-synchronize way?
> > > Meaning: multiple (read a lot of) users served at the same time.
> > >
> > >
> > > I thank you in advance
> > >
> > >
> > > Christos


More information about the Flask mailing list