Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: How to handle concurrent requests with fastcgi?

$
0
0
Ameisen Wrote:
-------------------------------------------------------
> It accepts
> connections on the listener socket, and defers them to other threads
> to process (which do so using a fiber pool) while the listener thread
> keeps listening for more connections.

If this is how it really works then there should not be a problem with blocking.

Try using 'ab' with 250 requests and 250 concurrent users directly on your backend, if the results are the same as for 5 requests and 5 concurrent users then you have no blocking issues.

If with 250/250 takes alot longer then 5/5 your app is blocking and so will nginx.

[ab]: https://httpd.apache.org/docs/2.4/programs/ab.html

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>