nginx can support high concurrency mainly because of the network I/O model of epoll in the Linux 2.6 kernel. So I wonder, will the concurrency of nginx not work on Windows? Or on another system? So what network IO model does nginx use on Windows or other systems? Asking experts to clarify my doubts
淡淡烟草味2017-05-16 17:28:48
Nginx supports many event models and will choose the most suitable one on different platforms. Specific to Windows, it is IOCP. IOCP is not inferior to epoll.
Previously, the official version of Nginx did not support IOCP. Many third-party branches did support it. I don’t know how it is now.
PHP中文网2017-05-16 17:28:48
I agree with you upstairs, IOCP under windows is the most efficient, nginx source code src/event/modules is all currently supported event types