<div dir="ltr">yeah, my traffic is going thru nginx. Its acting as a proxy. Can you recommend a good wsgi server for windows? </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 7, 2017 at 8:54 AM, Adil Hasan <span dir="ltr"><<a href="mailto:paradox2005@gmail.com" target="_blank">paradox2005@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Rita,<br>
I wonder. Do you think that the nginx server is handling the requests?<br>
I think the webserver is the service that will manage requests. At least<br>
I think that it is.<br>
hth<br>
<span class="HOEnZb"><font color="#888888">adil<br>
</font></span><span class=""><br>
On Fri, Jul 07, 2017 at 06:33:23AM -0400, Rita wrote:<br>
> yes, i understand that. how come when i submit ten concurrent requests none<br>
> of them get lost and eventually finish? how is that maintained?<br>
><br>
> On Fri, Jul 7, 2017 at 3:19 AM, Abdesslem Amri <<a href="mailto:amriabdesslem@gmail.com">amriabdesslem@gmail.com</a>><br>
> wrote:<br>
><br>
> > Using the simple app.run() from within Flask creates a single synchronous<br>
> > server on a single thread capable of serving only one client at a time.<br>
> ><br>
> > 2017-07-07 3:02 GMT+02:00 Rita <<a href="mailto:rmorgan466@gmail.com">rmorgan466@gmail.com</a>>:<br>
> ><br>
> >> Been using flask in my lab for the past few years. It just works. We<br>
> >> recently got some grad students and it seems we are seeing some slowness in<br>
> >> our flask applications running on Windows 2012 with enthought python.<br>
> >><br>
> >> currently I am running it in a single threaded mode with nginx (<br>
> >> <a href="http://flask.pocoo.org/docs/0.12/deploying/wsgi-standalone/#proxy-setups" rel="noreferrer" target="_blank">http://flask.pocoo.org/docs/0.<wbr>12/deploying/wsgi-standalone/#<wbr>proxy-setups</a>).<br>
> >> My question is: When 2 users hit my flask page, does it get blocked until<br>
> >> the first user finishes his request - it seems that the case. Is there a<br>
> >> way to view the "queue" length? How is this queue maintained, or is it done<br>
> >> by operating system networking stack?<br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> --- Get your facts first, then you can distort them as you please.--<br>
> >><br>
> >> ______________________________<wbr>_________________<br>
> >> Flask mailing list<br>
> >> <a href="mailto:Flask@python.org">Flask@python.org</a><br>
> >> <a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
> >><br>
> >><br>
> ><br>
> ><br>
> > --<br>
</span>> > ------------------------------<br>
<span class="im HOEnZb">> ><br>
> > The preceding message (including attachments) is covered by the Electronic<br>
> > Communication Privacy Act, 18 U.S.C. sections 2510-2512, is intended only<br>
> > for the person or entity to which it is addressed, and may contain<br>
> > information that is confidential, protected by attorney-client or other<br>
> > privilege, or otherwise protected from disclosure by law. If you are not<br>
> > the intended recipient, you are hereby notified that any retention,<br>
> > dissemination, distribution, or copying of this communication is strictly<br>
> > prohibited. Please reply to the sender that you have received the message<br>
> > in error and destroy the original message and all copies.<br>
> ><br>
> > ______________________________<wbr>_________________<br>
> ><br>
><br>
><br>
><br>
> --<br>
> --- Get your facts first, then you can distort them as you please.--<br>
<br>
</span><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> Flask mailing list<br>
> <a href="mailto:Flask@python.org">Flask@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
<br>
</div></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>