[Flask] flask queue question
paradox2005 at gmail.com
Fri Jul 7 08:54:26 EDT 2017
I wonder. Do you think that the nginx server is handling the requests?
I think the webserver is the service that will manage requests. At least
I think that it is.
On Fri, Jul 07, 2017 at 06:33:23AM -0400, Rita wrote:
> yes, i understand that. how come when i submit ten concurrent requests none
> of them get lost and eventually finish? how is that maintained?
> On Fri, Jul 7, 2017 at 3:19 AM, Abdesslem Amri <amriabdesslem at gmail.com>
> > Using the simple app.run() from within Flask creates a single synchronous
> > server on a single thread capable of serving only one client at a time.
> > 2017-07-07 3:02 GMT+02:00 Rita <rmorgan466 at gmail.com>:
> >> Been using flask in my lab for the past few years. It just works. We
> >> recently got some grad students and it seems we are seeing some slowness in
> >> our flask applications running on Windows 2012 with enthought python.
> >> currently I am running it in a single threaded mode with nginx (
> >> http://flask.pocoo.org/docs/0.12/deploying/wsgi-standalone/#proxy-setups).
> >> My question is: When 2 users hit my flask page, does it get blocked until
> >> the first user finishes his request - it seems that the case. Is there a
> >> way to view the "queue" length? How is this queue maintained, or is it done
> >> by operating system networking stack?
> >> --
> >> --- Get your facts first, then you can distort them as you please.--
> >> _______________________________________________
> >> Flask mailing list
> >> Flask at python.org
> >> https://mail.python.org/mailman/listinfo/flask
> > --
> > ------------------------------
> > The preceding message (including attachments) is covered by the Electronic
> > Communication Privacy Act, 18 U.S.C. sections 2510-2512, is intended only
> > for the person or entity to which it is addressed, and may contain
> > information that is confidential, protected by attorney-client or other
> > privilege, or otherwise protected from disclosure by law. If you are not
> > the intended recipient, you are hereby notified that any retention,
> > dissemination, distribution, or copying of this communication is strictly
> > prohibited. Please reply to the sender that you have received the message
> > in error and destroy the original message and all copies.
> > _______________________________________________
> --- Get your facts first, then you can distort them as you please.--
> Flask mailing list
> Flask at python.org
More information about the Flask