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
-------------------------------------------------------
> 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