as mentioned, all I know is that nginx is multi-process. The main process (parent process) registers the IO event with the kernel through epoll. When the IO event occurs, the kernel sends a signal to the parent process, which is the parent process notifies a child process to go to the kernel buffer to process the data. In other words, nginx uses "IO multiplexing". IO multiplexing means that the user process needs to use a thread of its own to copy data from the kernel buffer to the user buffer, which is Synchronize"s.
I don"t know if what I understood above is correct, but I read a lot of information on the Internet saying that nginx uses the asynchronous IO model. My understanding of asynchronous IO is: when the data reaches the kernel buffer, the kernel is responsible for copying the data from the inner buffer and the buffer to the user buffer.
so what exactly is the network model of nginx? And ask the god for advice! -sharp-sharp title text-sharp-sharp