Answer (1 of 2): Thanks for A2A, Nginx uses the Reactor pattern. Basically, it's single-threaded (but can fork several processes to utilize multiple cores). The main event loop waits for the OS to signal a readiness event - e.g. that data is available to read from a socket, at which point it is ...
![How can NIGINX handle concurrent requests with a single worker process?](https://cdn-ak-scissors.b.st-hatena.com/image/square/a20af0f948b8a4ffce4de35cca41f706f7aecc15/height=288;version=1;width=512/https%3A%2F%2Fqph.cf2.quoracdn.net%2Fmain-custom-t-788-600x315-pitawsfglqjondnjfdmgqqsnbnracpcv.jpeg)