<div dir="ltr">yes, i understand that. how come when i submit ten concurrent requests none of them get lost and eventually finish? how is that maintained?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 7, 2017 at 3:19 AM, Abdesslem Amri <span dir="ltr"><<a href="mailto:amriabdesslem@gmail.com" target="_blank">amriabdesslem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px">Using the simple </span><code style="margin:0px;padding:1px 5px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;background-color:rgb(239,240,241);white-space:pre-wrap;color:rgb(36,39,41)">app.run()</code><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px"> from within Flask creates a single synchronous server on a single thread capable of serving only one client at a time.</span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-07-07 3:02 GMT+02:00 Rita <span dir="ltr"><<a href="mailto:rmorgan466@gmail.com" target="_blank">rmorgan466@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">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.<div><br></div><div>currently I am running it in a single threaded mode with nginx (<a href="http://flask.pocoo.org/docs/0.12/deploying/wsgi-standalone/#proxy-setups" target="_blank">http://flask.pocoo.org/docs/0<wbr>.12/deploying/wsgi-standalone/<wbr>#proxy-setups</a>).  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?<span class="m_3493471057388347805HOEnZb"><font color="#888888"><br><div><div><br><div><br clear="all"><div><br></div>-- <br><div class="m_3493471057388347805m_-2288172528547955544gmail_signature">--- <span>Get your facts first, then you can distort them as you please.</span>--</div>
</div></div></div></font></span></div></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/flask</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_3493471057388347805gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><hr>
<font face="Arial" size="1" color="Gray"><br>
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.<br>
</font>


<br>______________________________<wbr>_________________</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--- <span>Get your facts first, then you can distort them as you please.</span>--</div>
</div>